Class PropertyEntry


  • public class PropertyEntry
    extends Object
    A PropertyEntry contains information on the name, readAccessor and presenceCheck (for source) and return type of a property.
    • Method Detail

      • forSourceReference

        public static PropertyEntry forSourceReference​(String[] name,
                                                       ReadAccessor readAccessor,
                                                       PresenceCheckAccessor presenceChecker,
                                                       Type type)
        Constructor used to create SourceReference property entries from a mapping
        Parameters:
        name - name of the property (dot separated)
        readAccessor - its read accessor
        presenceChecker - its presence Checker
        type - type of the property
        Returns:
        the property entry for given parameters.
      • getName

        public String getName()
      • getType

        public Type getType()
      • getFullName

        public String getFullName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object