Class ReferentialConstraint
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.ReferentialConstraint
Objects of this Class represent a referential constraint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the List ofAnnotationAttributefor thisReferentialConstraintsetAnnotationElements(List<AnnotationElement> annotationElements) Sets the List ofAnnotationElementfor thisReferentialConstraintsetDependent(ReferentialConstraintRole dependent) Sets the dependentReferentialConstraintRolefor thisReferentialConstraintsetDocumentation(Documentation documentation) Sets theDocumentationof thisReferentialConstraintsetPrincipal(ReferentialConstraintRole principal) Sets the principalReferentialConstraintRolefor thisReferentialConstraint
-
Constructor Details
-
ReferentialConstraint
public ReferentialConstraint()
-
-
Method Details
-
getPrincipal
- Returns:
ReferentialConstraintRolethe principal of thisReferentialConstraint
-
getDependent
- Returns:
ReferentialConstraintRolethe dependent of thisReferentialConstraint
-
getDocumentation
- Returns:
Documentationdocumentation
-
getAnnotationAttributes
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
- Returns:
- List of
AnnotationElementannotation elements
-
setPrincipal
Sets the principalReferentialConstraintRolefor thisReferentialConstraint- Parameters:
principal-- Returns:
ReferentialConstraintfor method chaining
-
setDependent
Sets the dependentReferentialConstraintRolefor thisReferentialConstraint- Parameters:
dependent-- Returns:
ReferentialConstraintfor method chaining
-
setDocumentation
Sets theDocumentationof thisReferentialConstraint- Parameters:
documentation-- Returns:
ReferentialConstraintfor method chaining
-
setAnnotationAttributes
public ReferentialConstraint setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the List ofAnnotationAttributefor thisReferentialConstraint- Parameters:
annotationAttributes-- Returns:
ReferentialConstraintfor method chaining
-
setAnnotationElements
Sets the List ofAnnotationElementfor thisReferentialConstraint- Parameters:
annotationElements-- Returns:
ReferentialConstraintfor method chaining
-