Class ReferentialConstraintRole
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.ReferentialConstraintRole
Objects of this Class represent a referential constraint role
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRole()setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the List ofAnnotationAttributefor thisReferentialConstraintRolesetAnnotationElements(List<AnnotationElement> annotationElements) Sets the List ofAnnotationElementfor thisReferentialConstraintRolesetPropertyRefs(List<PropertyRef> propertyRef) Sets thePropertyRefs of thisReferentialConstraintRoleSets the role of thisReferentialConstraintRole
-
Constructor Details
-
ReferentialConstraintRole
public ReferentialConstraintRole()
-
-
Method Details
-
getRole
- Returns:
- String role of this
ReferentialConstraintRole
-
getPropertyRefs
- Returns:
- List<
PropertyRef> for thisReferentialConstraintRole
-
getAnnotationAttributes
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
- Returns:
- List of
AnnotationElementannotation elements
-
setRole
Sets the role of thisReferentialConstraintRole- Parameters:
role-- Returns:
ReferentialConstraintRolefor method chaining
-
setPropertyRefs
Sets thePropertyRefs of thisReferentialConstraintRole- Parameters:
propertyRef-- Returns:
ReferentialConstraintRolefor method chaining
-
setAnnotationAttributes
public ReferentialConstraintRole setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the List ofAnnotationAttributefor thisReferentialConstraintRole- Parameters:
annotationAttributes-- Returns:
ReferentialConstraintRolefor method chaining
-
setAnnotationElements
Sets the List ofAnnotationElementfor thisReferentialConstraintRole- Parameters:
annotationElements-- Returns:
ReferentialConstraintRolefor method chaining
-