public class EdmNavigationPropertyImpl extends EdmTypedImpl implements EdmNavigationProperty, EdmAnnotatable
edmType, multiplicity, typeName
edm, name
Constructor and Description |
---|
EdmNavigationPropertyImpl() |
Modifier and Type | Method and Description |
---|---|
EdmAnnotations |
getAnnotations()
Get all annotations applied to an EDM element
|
EdmDocumentation |
getDocumentation() |
String |
getFromRole()
Get the from role of the navigation property
|
EdmMapping |
getMapping()
Get mapping information applied to an EDM element
|
EdmMultiplicity |
getMultiplicity()
See
EdmMultiplicity for more information about possible multiplicities. |
EdmAssociation |
getRelationship()
Get the relationship of the navigation property
|
FullQualifiedName |
getRelationshipName() |
String |
getToRole()
Get the to role of the navigation property
|
EdmType |
getType()
See
EdmType for more information about possible types. |
void |
setAnnotations(EdmAnnotations annotations) |
void |
setDocumentation(EdmDocumentation documentation) |
void |
setFromRole(String fromRole) |
void |
setMapping(Mapping mapping) |
void |
setRelationshipName(FullQualifiedName relationship) |
void |
setToRole(String toRole) |
String |
toString() |
setEdmType, setMultiplicity, setTypeName
getName, setEdm, setName
public EdmDocumentation getDocumentation()
public void setDocumentation(EdmDocumentation documentation)
public void setMapping(Mapping mapping)
public void setAnnotations(EdmAnnotations annotations)
public void setFromRole(String fromRole)
public void setToRole(String toRole)
public EdmType getType() throws EdmException
EdmTyped
EdmType
for more information about possible types.getType
in interface EdmTyped
getType
in class EdmTypedImpl
EdmType
EdmException
public EdmMultiplicity getMultiplicity() throws EdmException
EdmTyped
EdmMultiplicity
for more information about possible multiplicities.getMultiplicity
in interface EdmTyped
getMultiplicity
in class EdmTypedImpl
EdmMultiplicity
EdmException
public EdmAssociation getRelationship() throws EdmException
EdmNavigationProperty
getRelationship
in interface EdmNavigationProperty
EdmAssociation
EdmException
public FullQualifiedName getRelationshipName() throws EdmException
EdmException
public void setRelationshipName(FullQualifiedName relationship)
public String getFromRole() throws EdmException
EdmNavigationProperty
getFromRole
in interface EdmNavigationProperty
EdmException
public String getToRole() throws EdmException
EdmNavigationProperty
getToRole
in interface EdmNavigationProperty
EdmException
public EdmAnnotations getAnnotations() throws EdmException
EdmAnnotatable
getAnnotations
in interface EdmAnnotatable
EdmAnnotations
never nullEdmException
public EdmMapping getMapping() throws EdmException
EdmMappable
getMapping
in interface EdmMappable
EdmMapping
EdmException
public String toString()
toString
in class EdmTypedImpl
Copyright © 2013-2019 The Apache Software Foundation. All Rights Reserved.