Class EdmNavigationPropertyImpl
- java.lang.Object
-
- org.apache.olingo.odata2.client.core.edm.Impl.EdmNamedImpl
-
- org.apache.olingo.odata2.client.core.edm.Impl.EdmTypedImpl
-
- org.apache.olingo.odata2.client.core.edm.Impl.EdmNavigationPropertyImpl
-
- All Implemented Interfaces:
org.apache.olingo.odata2.api.edm.EdmAnnotatable,org.apache.olingo.odata2.api.edm.EdmMappable,org.apache.olingo.odata2.api.edm.EdmNamed,org.apache.olingo.odata2.api.edm.EdmNavigationProperty,org.apache.olingo.odata2.api.edm.EdmTyped
public class EdmNavigationPropertyImpl extends EdmTypedImpl implements org.apache.olingo.odata2.api.edm.EdmNavigationProperty, org.apache.olingo.odata2.api.edm.EdmAnnotatable
Objects of this class represent EdmNavigationProperty
-
-
Field Summary
-
Fields inherited from class org.apache.olingo.odata2.client.core.edm.Impl.EdmTypedImpl
edmType, multiplicity, typeName
-
Fields inherited from class org.apache.olingo.odata2.client.core.edm.Impl.EdmNamedImpl
edm, name
-
-
Constructor Summary
Constructors Constructor Description EdmNavigationPropertyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.olingo.odata2.api.edm.EdmAnnotationsgetAnnotations()EdmDocumentationgetDocumentation()StringgetFromRole()org.apache.olingo.odata2.api.edm.EdmMappinggetMapping()org.apache.olingo.odata2.api.edm.EdmMultiplicitygetMultiplicity()org.apache.olingo.odata2.api.edm.EdmAssociationgetRelationship()org.apache.olingo.odata2.api.edm.FullQualifiedNamegetRelationshipName()StringgetToRole()org.apache.olingo.odata2.api.edm.EdmTypegetType()voidsetAnnotations(org.apache.olingo.odata2.api.edm.EdmAnnotations annotations)voidsetDocumentation(EdmDocumentation documentation)voidsetFromRole(String fromRole)voidsetMapping(org.apache.olingo.odata2.api.edm.provider.Mapping mapping)voidsetRelationshipName(org.apache.olingo.odata2.api.edm.FullQualifiedName relationship)voidsetToRole(String toRole)StringtoString()-
Methods inherited from class org.apache.olingo.odata2.client.core.edm.Impl.EdmTypedImpl
setEdmType, setMultiplicity, setTypeName
-
Methods inherited from class org.apache.olingo.odata2.client.core.edm.Impl.EdmNamedImpl
getName, setEdm, setName
-
-
-
-
Method Detail
-
getDocumentation
public EdmDocumentation getDocumentation()
-
setDocumentation
public void setDocumentation(EdmDocumentation documentation)
-
setMapping
public void setMapping(org.apache.olingo.odata2.api.edm.provider.Mapping mapping)
-
setAnnotations
public void setAnnotations(org.apache.olingo.odata2.api.edm.EdmAnnotations annotations)
-
setFromRole
public void setFromRole(String fromRole)
-
setToRole
public void setToRole(String toRole)
-
getType
public org.apache.olingo.odata2.api.edm.EdmType getType() throws org.apache.olingo.odata2.api.edm.EdmException- Specified by:
getTypein interfaceorg.apache.olingo.odata2.api.edm.EdmTyped- Overrides:
getTypein classEdmTypedImpl- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
getMultiplicity
public org.apache.olingo.odata2.api.edm.EdmMultiplicity getMultiplicity() throws org.apache.olingo.odata2.api.edm.EdmException- Specified by:
getMultiplicityin interfaceorg.apache.olingo.odata2.api.edm.EdmTyped- Overrides:
getMultiplicityin classEdmTypedImpl- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
getRelationship
public org.apache.olingo.odata2.api.edm.EdmAssociation getRelationship() throws org.apache.olingo.odata2.api.edm.EdmException- Specified by:
getRelationshipin interfaceorg.apache.olingo.odata2.api.edm.EdmNavigationProperty- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
getRelationshipName
public org.apache.olingo.odata2.api.edm.FullQualifiedName getRelationshipName() throws org.apache.olingo.odata2.api.edm.EdmException- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
setRelationshipName
public void setRelationshipName(org.apache.olingo.odata2.api.edm.FullQualifiedName relationship)
-
getFromRole
public String getFromRole() throws org.apache.olingo.odata2.api.edm.EdmException
- Specified by:
getFromRolein interfaceorg.apache.olingo.odata2.api.edm.EdmNavigationProperty- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
getToRole
public String getToRole() throws org.apache.olingo.odata2.api.edm.EdmException
- Specified by:
getToRolein interfaceorg.apache.olingo.odata2.api.edm.EdmNavigationProperty- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
getAnnotations
public org.apache.olingo.odata2.api.edm.EdmAnnotations getAnnotations() throws org.apache.olingo.odata2.api.edm.EdmException- Specified by:
getAnnotationsin interfaceorg.apache.olingo.odata2.api.edm.EdmAnnotatable- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
getMapping
public org.apache.olingo.odata2.api.edm.EdmMapping getMapping() throws org.apache.olingo.odata2.api.edm.EdmException- Specified by:
getMappingin interfaceorg.apache.olingo.odata2.api.edm.EdmMappable- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
toString
public String toString()
- Overrides:
toStringin classEdmTypedImpl
-
-