Class EdmReferentialConstraintRoleImpl
- java.lang.Object
-
- org.apache.olingo.odata2.client.core.edm.Impl.EdmReferentialConstraintRoleImpl
-
- All Implemented Interfaces:
org.apache.olingo.odata2.api.edm.EdmAnnotatable,org.apache.olingo.odata2.api.edm.EdmReferentialConstraintRole
public class EdmReferentialConstraintRoleImpl extends Object implements org.apache.olingo.odata2.api.edm.EdmReferentialConstraintRole, org.apache.olingo.odata2.api.edm.EdmAnnotatable
Objects of this class represent EdmReferentialConstraintRole
-
-
Constructor Summary
Constructors Constructor Description EdmReferentialConstraintRoleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.olingo.odata2.api.edm.EdmAnnotationsgetAnnotations()List<EdmPropertyImpl>getProperty()List<String>getPropertyRefNames()List<String>getRefNames()StringgetRole()StringgetRoleName()voidsetAnnotations(org.apache.olingo.odata2.api.edm.EdmAnnotations annotations)voidsetProperty(List<EdmPropertyImpl> property)voidsetRefNames(List<String> refNames)voidsetRole(org.apache.olingo.odata2.api.edm.EdmReferentialConstraintRole role)voidsetRoleName(String roleName)StringtoString()
-
-
-
Method Detail
-
getRoleName
public String getRoleName()
-
getRole
public String getRole()
- Specified by:
getRolein interfaceorg.apache.olingo.odata2.api.edm.EdmReferentialConstraintRole
-
getProperty
public List<EdmPropertyImpl> getProperty()
- Returns:
- the propertyRefs
-
getPropertyRefNames
public List<String> getPropertyRefNames()
- Specified by:
getPropertyRefNamesin interfaceorg.apache.olingo.odata2.api.edm.EdmReferentialConstraintRole
-
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
-
setRole
public void setRole(org.apache.olingo.odata2.api.edm.EdmReferentialConstraintRole role)
- Parameters:
role- the role to set
-
setRoleName
public void setRoleName(String roleName)
-
setProperty
public void setProperty(List<EdmPropertyImpl> property)
-
setAnnotations
public void setAnnotations(org.apache.olingo.odata2.api.edm.EdmAnnotations annotations)
-
-