com.levigo.jadice.annotation.profiles
Class AnnotationTemplate
java.lang.Object
com.levigo.jadice.annotation.profiles.AnnotationFactory
com.levigo.jadice.annotation.profiles.AnnotationTemplate
public class AnnotationTemplate
- extends AnnotationFactory
Methods inherited from class com.levigo.jadice.annotation.profiles.AnnotationFactory |
getAnnotationProfile, getArchetypeName, getCustomizerFactories, getCustomizers, getInitializerFactories, getInitializerFactory, getInitializerFactory, getName, getOwnerProfile, getToolkitType, setCustomizerFactories, setInitializerFactories, setLabels, setName, setOwnerProfile, setToolkitType |
AnnotationTemplate
public AnnotationTemplate()
getPropertyDefaults
public List<PropertyDefault<?>> getPropertyDefaults()
- Return the list or property profiles native to this type. This list does not include
the parent's properties. This method is primarily used for XML marshalling and unmarshalling.
Use
getPropertyDefaults()
in order to return all property profiles pertaining to this
type.
- Returns:
- the propertyProfiles
hashCode
public int hashCode()
- Overrides:
hashCode
in class AnnotationFactory
equals
public boolean equals(Object obj)
- Overrides:
equals
in class AnnotationFactory
createNewInstance
public Annotation createNewInstance()
throws InstantiationException,
IllegalAccessException
- Create a new annotation instance already initialized with the annotation's default values.
- Specified by:
createNewInstance
in class AnnotationFactory
- Returns:
- the instance
- Throws:
InstantiationException
IllegalAccessException
getBaseType
public AnnotationType getBaseType()
- Specified by:
getBaseType
in class AnnotationFactory
setSuperTypeName
public void setSuperTypeName(String superTypeName)
getSuperTypeName
public String getSuperTypeName()
- Returns:
- the superTypeName
setSuperType
public void setSuperType(AnnotationFactory superType)
getSuperType
public AnnotationFactory getSuperType()
- Specified by:
getSuperType
in class AnnotationFactory
toString
public String toString()
- Overrides:
toString
in class Object
getWranglerFactory
public Factory<AnnotationWrangler,RuntimeException> getWranglerFactory()
- Specified by:
getWranglerFactory
in class AnnotationFactory
validate
public void validate(List<String> validationMessages)
getLabel
public String getLabel()
- Overrides:
getLabel
in class AnnotationFactory
getLabel
public String getLabel(Locale locale)
- Overrides:
getLabel
in class AnnotationFactory
getLabels
public Labels getLabels()
- Overrides:
getLabels
in class AnnotationFactory
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.