Modifier and Type | Field and Description |
---|---|
String |
fragmentKey |
String |
fragmentName |
boolean |
fulltext |
PropertyType |
propertyType |
boolean |
readonly |
Constructor and Description |
---|
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(String propertyName)
Create a model for an intermediate segment of a complex property.
|
Modifier and Type | Method and Description |
---|---|
String |
getIntermediateSegment()
Gets the segment name for an intermediate segment.
|
boolean |
isIntermediateSegment()
Checks if this is a pseudo-model for an intermediate segment of a complex property.
|
String |
toString() |
public final PropertyType propertyType
public final String fragmentName
public final String fragmentKey
public final boolean readonly
public final boolean fulltext
public ModelProperty(PropertyType propertyType, String fragmentName, String fragmentKey, boolean readonly)
public ModelProperty(String propertyName)
name
- the canonical segment namepublic String getIntermediateSegment()
public boolean isIntermediateSegment()
Copyright © 2015 Nuxeo SA. All rights reserved.