public class AnnotationType extends AnnotationFactory
Modifier and Type | Field and Description |
---|---|
protected List<ToolkitBasedFactory<AnnotationWrangler>> |
wranglerFactories |
initializerFactories, name
Constructor and Description |
---|
AnnotationType() |
Modifier and Type | Method and Description |
---|---|
Annotation |
createNewInstance()
Create a new annotation instance already initialized with the annotation's default values.
|
boolean |
equals(Object obj) |
Class<? extends Annotation> |
getAnnotationClass() |
Class<? extends Annotation> |
getAnnotationClassXML()
Deprecated.
This method is for XML marshalling use only
|
List<AnnotationInterpreterFactory> |
getAnnotationInterpreterFactories()
Deprecated.
This method is for XML unmarshalling use only
|
String |
getArchetypeName() |
static String |
getArchetypeName(AnnotationType type)
Deprecated.
For internal use only, location of this method may change in future.
|
AnnotationType |
getBaseType() |
AnnotationInterpreterFactory |
getInterpreterFactory()
Return the semantic factory for the current toolkit set via
AnnotationFactory.setToolkitType(String) . |
AnnotationInterpreterFactory |
getInterpreterFactory(String toolkitType) |
List<PropertyProfile<?>> |
getLocalPropertyProfiles()
Return the list or property profiles native to this type.
|
PropertyProfile<?> |
getPropertyProfile(String name)
Return a property profile by its property name.
|
List<PropertyProfile<?>> |
getPropertyProfiles() |
List<ToolkitBasedFactory<com.levigo.jadice.annotation.internal.renderer.AnnotationRenderer<? extends Annotation>>> |
getRendererFactories()
Deprecated.
This method is for XML unmarshalling use only
|
Factory<com.levigo.jadice.annotation.internal.renderer.AnnotationRenderer<? extends Annotation>,RuntimeException> |
getRendererFactory()
Return the renderer factory for the current toolkit set via
AnnotationFactory.setToolkitType(String) . |
Factory<com.levigo.jadice.annotation.internal.renderer.AnnotationRenderer<? extends Annotation>,RuntimeException> |
getRendererFactory(String toolkitType) |
AnnotationType |
getSuperType() |
String |
getSuperTypeName() |
List<ToolkitBasedFactory<AnnotationWrangler>> |
getWranglerFactories()
Deprecated.
This method is for XML unmarshalling use only
|
Factory<AnnotationWrangler,RuntimeException> |
getWranglerFactory()
Return the wrangler factory for the current toolkit set via
AnnotationFactory.setToolkitType(String) . |
Factory<AnnotationWrangler,RuntimeException> |
getWranglerFactory(String toolkitType) |
int |
hashCode() |
void |
setAnnotationClass(Class<? extends Annotation> annotationClass) |
void |
setAnnotationClassXML(Class<? extends Annotation> annotationClass)
Deprecated.
This method is for XML umarshalling use only
|
void |
setArchetypeName(String archetypeName) |
void |
setSuperType(AnnotationType superType) |
void |
setSuperTypeName(String superTypeName) |
String |
toString() |
void |
validate(List<String> validationMessages) |
getAnnotationProfile, getCustomizerFactories, getCustomizers, getFontFactoryFactories, getFontFactoryFactory, getFontFactoryFactory, getInitializerFactories, getInitializerFactory, getInitializerFactory, getLabel, getLabel, getLabels, getName, getOwnerProfile, getToolkitType, setCustomizerFactories, setInitializerFactories, setLabels, setName, setOwnerProfile, setToolkitType
protected List<ToolkitBasedFactory<AnnotationWrangler>> wranglerFactories
@Deprecated public void setAnnotationClassXML(Class<? extends Annotation> annotationClass)
@Deprecated public Class<? extends Annotation> getAnnotationClassXML()
public void setAnnotationClass(Class<? extends Annotation> annotationClass)
annotationClass
- the annotationClass to setpublic Class<? extends Annotation> getAnnotationClass()
public List<PropertyProfile<?>> getLocalPropertyProfiles()
getPropertyProfiles()
in order to return all property profiles pertaining to this type.public List<PropertyProfile<?>> getPropertyProfiles()
public PropertyProfile<?> getPropertyProfile(String name)
null
if no such property
profile is defined.PropertyProfile
or null
.public Annotation createNewInstance() throws InstantiationException, IllegalAccessException
createNewInstance
in class AnnotationFactory
InstantiationException
IllegalAccessException
public Factory<com.levigo.jadice.annotation.internal.renderer.AnnotationRenderer<? extends Annotation>,RuntimeException> getRendererFactory()
AnnotationFactory.setToolkitType(String)
.AnnotationFactory.setToolkitType(String)
.public Factory<com.levigo.jadice.annotation.internal.renderer.AnnotationRenderer<? extends Annotation>,RuntimeException> getRendererFactory(String toolkitType)
@Deprecated public List<AnnotationInterpreterFactory> getAnnotationInterpreterFactories()
public AnnotationInterpreterFactory getInterpreterFactory()
AnnotationFactory.setToolkitType(String)
.AnnotationFactory.setToolkitType(String)
.public AnnotationInterpreterFactory getInterpreterFactory(String toolkitType)
public void setSuperTypeName(String superTypeName)
public String getSuperTypeName()
public void setSuperType(AnnotationType superType)
public AnnotationType getSuperType()
getSuperType
in class AnnotationFactory
public AnnotationType getBaseType()
getBaseType
in class AnnotationFactory
public int hashCode()
hashCode
in class AnnotationFactory
public boolean equals(Object obj)
equals
in class AnnotationFactory
@Deprecated public List<ToolkitBasedFactory<com.levigo.jadice.annotation.internal.renderer.AnnotationRenderer<? extends Annotation>>> getRendererFactories()
public Factory<AnnotationWrangler,RuntimeException> getWranglerFactory()
AnnotationFactory.setToolkitType(String)
.getWranglerFactory
in class AnnotationFactory
AnnotationFactory.setToolkitType(String)
.public Factory<AnnotationWrangler,RuntimeException> getWranglerFactory(String toolkitType)
@Deprecated public List<ToolkitBasedFactory<AnnotationWrangler>> getWranglerFactories()
public void setArchetypeName(String archetypeName)
public String getArchetypeName()
getArchetypeName
in class AnnotationFactory
@Deprecated public static final String getArchetypeName(AnnotationType type)
archetype
attribute definition. Functionality: If method getArchetypeName()
returns null
, the current name of the type via AnnotationFactory.getName()
will be returned.type
- Annotation type instanceCopyright © 2024 levigo holding gmbh. All rights reserved.