Package org.nuxeo.ecm.core.storage.sql
Class ModelProperty
java.lang.Object
org.nuxeo.ecm.core.storage.sql.ModelProperty
Model of a property (simple or array) of a
Node
.-
Field Summary
Modifier and TypeFieldDescriptionfinal String
final String
final boolean
protected final boolean
final PropertyType
final boolean
-
Constructor Summary
ConstructorDescriptionModelProperty
(String propertyName) Create a model for an intermediate segment of a complex property.ModelProperty
(PropertyType propertyType, String fragmentName, String fragmentKey, boolean readonly) Creates a model for a scalar property, or the last segment of a complex property. -
Method Summary
Modifier and TypeMethodDescriptionGets the segment name for an intermediate segment.boolean
Checks if this is a pseudo-model for an intermediate segment of a complex property.toString()
-
Field Details
-
propertyType
-
fragmentName
-
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
Create a model for an intermediate segment of a complex property.- Parameters:
propertyName
- the canonical segment name- Since:
- 5.7.3
-
-
Method Details
-
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
-