Class AnnotationFactory
java.lang.Object
com.levigo.jadice.annotation.profiles.AnnotationFactory
- Direct Known Subclasses:
AnnotationTemplate,AnnotationType
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AnnotationbooleanReturn the "effective" profile to which this type or template belongs.abstract AnnotationTypeDeprecated.This method is for XML umarshalling use onlyReturn the initializer factory for the current toolkit set viasetToolkitType(String).getInitializerFactory(String toolkitType) getLabel()getName()Return the profile that "owns" this type or template.abstract AnnotationFactorystatic Stringabstract org.jadice.util.base.Factory<AnnotationWrangler, RuntimeException> inthashCode()voidsetCustomizerFactories(List<NameBasedFactory<AnnotationCustomizer>> customizerFactories) voidsetInitializerFactories(List<AnnotationInitializerFactory> initializerFactories) voidvoidvoidsetOwnerProfile(AnnotationProfile ownerProfile) static voidsetToolkitType(String toolkitType)
-
Field Details
-
name
-
initializerFactories
-
-
Constructor Details
-
AnnotationFactory
public AnnotationFactory()
-
-
Method Details
-
getToolkitType
-
setToolkitType
-
setName
- Parameters:
name- the name to set
-
getName
- Returns:
- the name
-
getAnnotationProfile
Return the "effective" profile to which this type or template belongs. The effective profile is the "bottom-most" profile. If a profile inherits a type/template from a parent profile, it becomes the effective profile for it.- Returns:
- the annotationProfile
-
setOwnerProfile
- Parameters:
ownerProfile- the ownerProfile to set
-
getOwnerProfile
Return the profile that "owns" this type or template. This is the profile in which the type/template was defined. Profile inheritance does not change the owner profile for a given inherited type.- Returns:
- the ownerProfile
-
setLabels
-
getLabels
-
getLabel
-
getInitializerFactory
Return the initializer factory for the current toolkit set viasetToolkitType(String).- Returns:
- the initializer factory for the current toolkit set via
setToolkitType(String).
-
getInitializerFactory
- Returns:
- the initializer factory
-
getInitializerFactories
-
setInitializerFactories
-
getSuperType
-
getBaseType
-
createNewInstance
-
getWranglerFactory
public abstract org.jadice.util.base.Factory<AnnotationWrangler,RuntimeException> getWranglerFactory() -
hashCode
public int hashCode() -
equals
-
getArchetypeName
-
setCustomizerFactories
public void setCustomizerFactories(List<NameBasedFactory<AnnotationCustomizer>> customizerFactories) -
getCustomizerFactories
Deprecated.This method is for XML umarshalling use only -
getCustomizers
-