Class ModelProperty

java.lang.Object
org.nuxeo.ecm.core.storage.sql.ModelProperty

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

    • propertyType

      public final PropertyType propertyType
    • 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 Details

    • 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 Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object