Package org.nuxeo.ecm.core.storage.sql
Class ModelProperty
- java.lang.Object
 - 
- org.nuxeo.ecm.core.storage.sql.ModelProperty
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description StringfragmentKeyStringfragmentNamebooleanfulltextprotected booleanisIntermediateSegmentPropertyTypepropertyTypebooleanreadonly 
- 
Constructor Summary
Constructors Constructor Description ModelProperty(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIntermediateSegment()Gets the segment name for an intermediate segment.booleanisIntermediateSegment()Checks if this is a pseudo-model for an intermediate segment of a complex property.StringtoString() 
 - 
 
- 
- 
Field Detail
- 
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 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
 
 
 - 
 
 -