Class PropertyProfile<T>

    • Field Detail

      • propertyType

        protected Class<T> propertyType
    • Constructor Detail

      • PropertyProfile

        public PropertyProfile()
    • Method Detail

      • setPropertyName

        public void setPropertyName​(String propertyName)
        Parameters:
        propertyName - the propertyName to set
      • setPropertyType

        public void setPropertyType​(Class<?> propertyType)
        Parameters:
        propertyType - the propertyType to set
      • getPropertyType

        public Class<?> getPropertyType()
        Returns:
        the propertyType
      • getPropertyName

        public String getPropertyName()
        Returns:
        the propertyName
      • setDefaultValue

        public void setDefaultValue​(T defaultValue)
        Parameters:
        defaultValue - the defaultValue to set
      • setDefaultValueXML

        public void setDefaultValueXML​(String defaultValue)
        Parameters:
        defaultValue - the defaultValue to set
      • getDefaultValue

        public T getDefaultValue()
        Returns:
        the defaultValue
      • setPreferredValues

        public void setPreferredValues​(List<T> preferredValues)
        Parameters:
        preferredValues - the preferredValues to set
      • getPreferredValues

        public List<T> getPreferredValues()
        Returns:
        the preferredValues
      • hashCode

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

        public AnnotationType getAnnotationProfile()
        Return the AnnotationType on which this property is defined. Beware: for inherited properties, this points to the super-type.
        Returns:
        the annotationProfile
      • setLabels

        public void setLabels​(Labels labels)
      • getLabels

        public Labels getLabels()
      • getLabel

        public String getLabel()
      • setVirtual

        public void setVirtual​(boolean virtual)
      • isVirtual

        public boolean isVirtual()
      • validate

        public void validate​(List<String> validationMessages)