com.levigo.jadice.annotation.profiles
Class AnnotationTemplate

java.lang.Object
  extended by com.levigo.jadice.annotation.profiles.AnnotationFactory
      extended by com.levigo.jadice.annotation.profiles.AnnotationTemplate

public class AnnotationTemplate
extends AnnotationFactory


Field Summary
 
Fields inherited from class com.levigo.jadice.annotation.profiles.AnnotationFactory
initializerFactories, name
 
Constructor Summary
AnnotationTemplate()
           
 
Method Summary
 Annotation createNewInstance()
          Create a new annotation instance already initialized with the annotation's default values.
 boolean equals(Object obj)
           
 AnnotationType getBaseType()
           
 String getLabel()
           
 String getLabel(Locale locale)
           
 Labels getLabels()
           
 List<PropertyDefault<?>> getPropertyDefaults()
          Return the list or property profiles native to this type.
 AnnotationFactory getSuperType()
           
 String getSuperTypeName()
           
 Factory<AnnotationWrangler,RuntimeException> getWranglerFactory()
           
 int hashCode()
           
 void setSuperType(AnnotationFactory superType)
           
 void setSuperTypeName(String superTypeName)
           
 String toString()
           
 void validate(List<String> validationMessages)
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationTemplate

public AnnotationTemplate()
Method Detail

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.