Class PropertyTemplate

  • All Implemented Interfaces:
    java.lang.Comparable<PropertyTemplate>

    public class PropertyTemplate
    extends java.lang.Object
    implements java.lang.Comparable<PropertyTemplate>
    A property definition within a template (the property name, the type, and the index within the list of properties for the given node).
    • Method Detail

      • getIndex

        public int getIndex()
      • getName

        public java.lang.String getName()
      • getType

        public Type<?> getType()
      • compareTo

        public int compareTo​(@NotNull
                             @NotNull PropertyTemplate template)
        Specified by:
        compareTo in interface java.lang.Comparable<PropertyTemplate>
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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

        public int estimateMemoryUsage()