public class NavigationProperty extends Property
Represents an OData navigation property.
HAS_FOREIGN_KEYS_IN_SOURCE, HAS_FOREIGN_KEYS_IN_TARGET, HAS_NO_FOREIGN_KEYS, ON_DELETE_CASCADE, ON_DELETE_RESTRICT, ON_DELETE_SET_DEFAULT, ON_DELETE_SET_NULL| Constructor and Description |
|---|
NavigationProperty() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getContainsTarget()
Return if this property is a navigation property, then does it contain its target?
|
JoinSetRelations |
getJoinSetRelations()
Return (nullable) JoinSetRelations for this navigation property, which contaions information to navigating to the partner property through server-only navigation properties and entityset.
|
NavigationProperty |
getJoinUsingNavigationProperty()
Return (nullable) Navigation to the partner property can be realized through a join entityset, using this (server-only) navigation property.
|
int |
getOnDeleteAction()
Return if this property is a navigation property, then the action upon deletion of the source entity.
|
java.lang.String |
getPartnerPath()
Return (nullable) If this property is a navigation property with a defined partner property, then the path of the partner.
|
StringMap |
getReferentialConstraints()
Return if this property is a navigation property with referential constraints, then a map of constraints (from property name in the dependent entity to property name in the principal entity).
|
boolean |
getServerOnly()
Return navigation to the partner property can be realized through a join entityset, using this (server-only) navigation property.
|
int |
hasForeignKeys()
Return if this property is a navigation property, then where are foreign keys found.
|
void |
setContainsTarget(boolean value)
Set if this property is a navigation property, then does it contain its target?
|
void |
setForeignKeys(int value)
Set if this property is a navigation property, then where are foreign keys found.
|
void |
setJoinSetRelations(JoinSetRelations value)
Set joinSetRelations for this navigation property, which contaions information to navigating to the partner property through server-only navigation properties and entityset.
|
void |
setJoinUsingNavigationProperty(NavigationProperty value)
Set navigation to the partner property can be realized through a join entityset, using this (server-only) navigation property.
|
void |
setOnDeleteAction(int value)
Set if this property is a navigation property, then the action upon deletion of the source entity.
|
void |
setPartnerPath(java.lang.String value)
Set if this property is a navigation property with a defined partner property, then the path of the partner.
|
void |
setReferentialConstraints(StringMap value)
Set if this property is a navigation property with referential constraints, then a map of constraints (from property name in the dependent entity to property name in the principal entity).
|
void |
setServerOnly(boolean value)
Set navigation to the partner property can be realized through a join entityset, using this (server-only) navigation property.
|
getAnnotation, getAnnotations, getBasicList, getBinary, getBoolean, getByte, getCanBeRemoved, getColumn, getColumnDefault, getColumnType, getComplex, getComplexList, getComplexType, getCustomPath, getDataType, getDecimal, getDefaultValue, getDouble, getEntity, getEntityList, getEntityType, getEnum, getEnumType, getFixedLength, getFloat, getGuid, getId, getInt, getInteger, getItemComplexType, getItemEntityType, getLong, getMaxLength, getMinLength, getName, getNullableBinary, getNullableBoolean, getNullableByte, getNullableComplex, getNullableDecimal, getNullableDouble, getNullableEntity, getNullableEnum, getNullableFloat, getNullableGuid, getNullableInt, getNullableInteger, getNullableLong, getNullableShort, getNullableString, getNullableUnsignedByte, getOptionalValue, getOwningType, getPrecision, getQualifiedName, getRequiredValue, getScale, getShort, getSourceLine, getSrid, getStreamLink, getString, getStructureType, getSystemFlags, getTrackChanges, getType, getUnsignedByte, getValue, hasColumnDefault, isCollection, isExtension, isForeignKey, isGeneratedKey, isImmutable, isKey, isNavigation, isNullable, isOptimistic, isPersistent, isRemoved, isStream, isStructural, isUnicode, path, setBasicList, setBinary, setBoolean, setByte, setCanBeRemoved, setColumn, setColumnDefault, setColumnDefault, setColumnType, setComplex, setComplexList, setCustomPath, setDecimal, setDefaultValue, setDouble, setEntity, setEntityList, setEnum, setExtension, setFloat, setForeignKey, setGeneratedKey, setGuid, setId, setImmutable, setInt, setInteger, setKey, setLong, setMaxLength, setMinLength, setName, setNullable, setNullableBinary, setNullableBoolean, setNullableByte, setNullableComplex, setNullableDecimal, setNullableDouble, setNullableEntity, setNullableEnum, setNullableFloat, setNullableGuid, setNullableInt, setNullableInteger, setNullableLong, setNullableShort, setNullableString, setNullableUnsignedByte, setOptimistic, setOwningType, setPrecision, setRemoved, setScale, setShort, setSourceLine, setSrid, setString, setSystemFlags, setTrackChanges, setType, setUnicode, setUnsignedByte, setValue, toPath, toString, unwrap, urlStringadd, add, add, add, add, add, add, all, any, asType, average, ceiling, concat, concat, contains, contains, countDistinct, date, day, divide, divide, divide, divide, divide, divide, divide, endsWith, endsWith, equal, equal, equal, equal, equal, equal, equal, equal, equal, floor, fractionalSeconds, geoDistance, geoIntersectse, geoLength, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, has, hour, indexOf, indexOf, isNull, isType, length, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, maximum, minimum, minute, modulo, modulo, modulo, modulo, modulo, modulo, modulo, month, multiply, multiply, multiply, multiply, multiply, multiply, multiply, negate, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notNull, round, second, startsWith, startsWith, substring, substring, substring, substring, subtract, subtract, subtract, subtract, subtract, subtract, subtract, sum, time, toLower, totalOffsetMinutes, toUpper, trim, wrap, yearcloneMutable, equals, getTypeCode, hashCodepublic boolean getContainsTarget()
Return if this property is a navigation property, then does it contain its target?
getContainsTarget in class Propertypublic JoinSetRelations getJoinSetRelations()
Return (nullable) JoinSetRelations for this navigation property, which contaions information to navigating to the partner property through server-only navigation properties and entityset.
public NavigationProperty getJoinUsingNavigationProperty()
Return (nullable) Navigation to the partner property can be realized through a join entityset, using this (server-only) navigation property.
public int getOnDeleteAction()
Return if this property is a navigation property, then the action upon deletion of the source entity. Zero indicates an undefined action.
ON_DELETE_* constants.
getOnDeleteAction in class Propertypublic java.lang.String getPartnerPath()
Return (nullable) If this property is a navigation property with a defined partner property, then the path of the partner.
getPartnerPath in class Propertypublic StringMap getReferentialConstraints()
Return if this property is a navigation property with referential constraints, then a map of constraints (from property name in the dependent entity to property name in the principal entity).
getReferentialConstraints in class Propertypublic boolean getServerOnly()
Return navigation to the partner property can be realized through a join entityset, using this (server-only) navigation property.
public int hasForeignKeys()
Return if this property is a navigation property, then where are foreign keys found.
constants.
hasForeignKeys in class Propertypublic void setContainsTarget(boolean value)
Set if this property is a navigation property, then does it contain its target?
setContainsTarget in class Propertyvalue - If this property is a navigation property, then does it contain its target?public void setForeignKeys(int value)
Set if this property is a navigation property, then where are foreign keys found.
constants.
setForeignKeys in class Propertyvalue - If this property is a navigation property, then where are foreign keys found.public void setJoinSetRelations(JoinSetRelations value)
Set joinSetRelations for this navigation property, which contaions information to navigating to the partner property through server-only navigation properties and entityset.
value - JoinSetRelations for this navigation property, which contaions information to navigating to the partner property through server-only navigation properties and entityset.public void setJoinUsingNavigationProperty(NavigationProperty value)
Set navigation to the partner property can be realized through a join entityset, using this (server-only) navigation property.
value - Navigation to the partner property can be realized through a join entityset, using this (server-only) navigation property.public void setOnDeleteAction(int value)
Set if this property is a navigation property, then the action upon deletion of the source entity. Zero indicates an undefined action.
ON_DELETE_* constants.
setOnDeleteAction in class Propertyvalue - If this property is a navigation property, then the action upon deletion of the source entity. Zero indicates an undefined action.public void setPartnerPath(java.lang.String value)
Set if this property is a navigation property with a defined partner property, then the path of the partner.
setPartnerPath in class Propertyvalue - If this property is a navigation property with a defined partner property, then the path of the partner.public void setReferentialConstraints(StringMap value)
Set if this property is a navigation property with referential constraints, then a map of constraints (from property name in the dependent entity to property name in the principal entity).
setReferentialConstraints in class Propertyvalue - If this property is a navigation property with referential constraints, then a map of constraints (from property name in the dependent entity to property name in the principal entity).public void setServerOnly(boolean value)
Set navigation to the partner property can be realized through a join entityset, using this (server-only) navigation property.
value - Navigation to the partner property can be realized through a join entityset, using this (server-only) navigation property.