Class ReferentialConstraint
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.ReferentialConstraint
-
public class ReferentialConstraint extends Object
Objects of this Class represent a referential constraint
-
-
Constructor Summary
Constructors Constructor Description ReferentialConstraint()
-
Method Summary
-
-
-
Method Detail
-
getPrincipal
public ReferentialConstraintRole getPrincipal()
- Returns:
ReferentialConstraintRolethe principal of thisReferentialConstraint
-
getDependent
public ReferentialConstraintRole getDependent()
- Returns:
ReferentialConstraintRolethe dependent of thisReferentialConstraint
-
getDocumentation
public Documentation getDocumentation()
- Returns:
Documentationdocumentation
-
getAnnotationAttributes
public List<AnnotationAttribute> getAnnotationAttributes()
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
public List<AnnotationElement> getAnnotationElements()
- Returns:
- List of
AnnotationElementannotation elements
-
setPrincipal
public ReferentialConstraint setPrincipal(ReferentialConstraintRole principal)
Sets the principalReferentialConstraintRolefor thisReferentialConstraint- Parameters:
principal- Principal- Returns:
ReferentialConstraintfor method chaining
-
setDependent
public ReferentialConstraint setDependent(ReferentialConstraintRole dependent)
Sets the dependentReferentialConstraintRolefor thisReferentialConstraint- Parameters:
dependent- Dependent- Returns:
ReferentialConstraintfor method chaining
-
setDocumentation
public ReferentialConstraint setDocumentation(Documentation documentation)
Sets theDocumentationof thisReferentialConstraint- Parameters:
documentation- Documentação- Returns:
ReferentialConstraintfor method chaining
-
setAnnotationAttributes
public ReferentialConstraint setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Sets the List ofAnnotationAttributefor thisReferentialConstraint- Parameters:
annotationAttributes- Atributos- Returns:
ReferentialConstraintfor method chaining
-
setAnnotationElements
public ReferentialConstraint setAnnotationElements(List<AnnotationElement> annotationElements)
Sets the List ofAnnotationElementfor thisReferentialConstraint- Parameters:
annotationElements- Elementos- Returns:
ReferentialConstraintfor method chaining
-
-