Class AnnotationFactory

    • Constructor Detail

      • AnnotationFactory

        public AnnotationFactory()
    • Method Detail

      • getToolkitType

        public static String getToolkitType()
      • setToolkitType

        public static void setToolkitType​(String toolkitType)
      • setName

        public void setName​(String name)
        Parameters:
        name - the name to set
      • getName

        public String getName()
        Returns:
        the name
      • getAnnotationProfile

        public AnnotationProfile 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

        public void setOwnerProfile​(AnnotationProfile ownerProfile)
        Parameters:
        ownerProfile - the ownerProfile to set
      • getOwnerProfile

        public AnnotationProfile 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

        public void setLabels​(Labels labels)
      • getLabels

        public Labels getLabels()
      • getLabel

        public String getLabel()
      • createNewInstance

        public abstract Annotation createNewInstance()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getArchetypeName

        public String getArchetypeName()