Class PropertyEntry


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

      • fullName

        private final java.lang.String[] fullName
      • type

        private final Type type
    • Constructor Detail

      • PropertyEntry

        private PropertyEntry​(java.lang.String[] fullName,
                              ReadAccessor readAccessor,
                              PresenceCheckAccessor presenceChecker,
                              Type type)
        Constructor used to create TargetReference property entries from a mapping
        Parameters:
        fullName -
        readAccessor -
        type -
    • Method Detail

      • forSourceReference

        public static PropertyEntry forSourceReference​(java.lang.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 java.lang.String getName()
      • getType

        public Type getType()
      • getFullName

        public java.lang.String getFullName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object