|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.jadice.annotation.profiles.AnnotationFactory com.levigo.jadice.annotation.profiles.AnnotationType
public class AnnotationType
Field Summary | |
---|---|
protected List<ToolkitBasedFactory<AnnotationWrangler>> |
wranglerFactories
|
Fields inherited from class com.levigo.jadice.annotation.profiles.AnnotationFactory |
---|
initializerFactories, name |
Constructor Summary | |
---|---|
AnnotationType()
|
Method Summary | |
---|---|
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 |
String |
getArchetypeName()
|
static String |
getArchetypeName(AnnotationType type)
Deprecated. For internal use only, location of this method may change in future. |
AnnotationType |
getBaseType()
|
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<AnnotationRenderer<? extends Annotation>>> |
getRendererFactories()
Deprecated. This method is for XML umarshalling use only |
Factory<AnnotationRenderer<? extends Annotation>,RuntimeException> |
getRendererFactory()
Return the renderer factory for the current toolkit set via AnnotationFactory.setToolkitType(String) . |
Factory<AnnotationRenderer<? extends Annotation>,RuntimeException> |
getRendererFactory(String toolkitType)
|
AnnotationType |
getSuperType()
|
String |
getSuperTypeName()
|
List<ToolkitBasedFactory<AnnotationWrangler>> |
getWranglerFactories()
Deprecated. This method is for XML umarshalling 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)
|
Methods inherited from class com.levigo.jadice.annotation.profiles.AnnotationFactory |
---|
getAnnotationProfile, getCustomizerFactories, getCustomizers, getInitializerFactories, getInitializerFactory, getInitializerFactory, getLabel, getLabel, getLabels, getName, getOwnerProfile, getToolkitType, setCustomizerFactories, setInitializerFactories, setLabels, setName, setOwnerProfile, setToolkitType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected List<ToolkitBasedFactory<AnnotationWrangler>> wranglerFactories
Constructor Detail |
---|
public AnnotationType()
Method Detail |
---|
@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.
name
-
PropertyProfile
or null
.public Annotation createNewInstance() throws InstantiationException, IllegalAccessException
createNewInstance
in class AnnotationFactory
InstantiationException
IllegalAccessException
public Factory<AnnotationRenderer<? extends Annotation>,RuntimeException> getRendererFactory()
AnnotationFactory.setToolkitType(String)
.
AnnotationFactory.setToolkitType(String)
.public Factory<AnnotationRenderer<? extends Annotation>,RuntimeException> getRendererFactory(String toolkitType)
public void setSuperTypeName(String superTypeName)
public String getSuperTypeName()
public void setSuperType(AnnotationType superType)
public AnnotationType getSuperType()
getSuperType
in class AnnotationFactory
public String toString()
toString
in class Object
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<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 validate(List<String> validationMessages)
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 instance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |