Class ModelProperty


  • public class ModelProperty
    extends Object
    Model of a property (simple or array) of a Node.
    • Field Detail

      • fragmentName

        public final String fragmentName
      • fragmentKey

        public final String fragmentKey
      • readonly

        public final boolean readonly
      • fulltext

        public final boolean fulltext
      • isIntermediateSegment

        protected final boolean isIntermediateSegment
    • Constructor Detail

      • ModelProperty

        public ModelProperty​(PropertyType propertyType,
                             String fragmentName,
                             String fragmentKey,
                             boolean readonly)
        Creates a model for a scalar property, or the last segment of a complex property.
      • ModelProperty

        public ModelProperty​(String propertyName)
        Create a model for an intermediate segment of a complex property.
        Parameters:
        propertyName - the canonical segment name
        Since:
        5.7.3
    • Method Detail

      • getIntermediateSegment

        public String getIntermediateSegment()
        Gets the segment name for an intermediate segment.
        Returns:
        the segment name
        Since:
        5.7.3
      • isIntermediateSegment

        public boolean isIntermediateSegment()
        Checks if this is a pseudo-model for an intermediate segment of a complex property.
        Since:
        5.7.3