Class ReferentialConstraintRole
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.ReferentialConstraintRole
-
public class ReferentialConstraintRole extends Object
Objects of this Class represent a referential constraint role
-
-
Constructor Summary
Constructors Constructor Description ReferentialConstraintRole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AnnotationAttribute>getAnnotationAttributes()List<AnnotationElement>getAnnotationElements()List<PropertyRef>getPropertyRefs()StringgetRole()ReferentialConstraintRolesetAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)Sets the List ofAnnotationAttributefor thisReferentialConstraintRoleReferentialConstraintRolesetAnnotationElements(List<AnnotationElement> annotationElements)Sets the List ofAnnotationElementfor thisReferentialConstraintRoleReferentialConstraintRolesetPropertyRefs(List<PropertyRef> propertyRef)Sets thePropertyRefs of thisReferentialConstraintRoleReferentialConstraintRolesetRole(String role)Sets the role of thisReferentialConstraintRole
-
-
-
Method Detail
-
getRole
public String getRole()
- Returns:
- String role of this
ReferentialConstraintRole
-
getPropertyRefs
public List<PropertyRef> getPropertyRefs()
- Returns:
- List<
PropertyRef> for thisReferentialConstraintRole
-
getAnnotationAttributes
public List<AnnotationAttribute> getAnnotationAttributes()
- Returns:
- List of
AnnotationAttributeannotation attributes
-
getAnnotationElements
public List<AnnotationElement> getAnnotationElements()
- Returns:
- List of
AnnotationElementannotation elements
-
setRole
public ReferentialConstraintRole setRole(String role)
Sets the role of thisReferentialConstraintRole- Parameters:
role- Regra- Returns:
ReferentialConstraintRolefor method chaining
-
setPropertyRefs
public ReferentialConstraintRole setPropertyRefs(List<PropertyRef> propertyRef)
Sets thePropertyRefs of thisReferentialConstraintRole- Parameters:
propertyRef- Referencia- Returns:
ReferentialConstraintRolefor method chaining
-
setAnnotationAttributes
public ReferentialConstraintRole setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Sets the List ofAnnotationAttributefor thisReferentialConstraintRole- Parameters:
annotationAttributes- Atributos- Returns:
ReferentialConstraintRolefor method chaining
-
setAnnotationElements
public ReferentialConstraintRole setAnnotationElements(List<AnnotationElement> annotationElements)
Sets the List ofAnnotationElementfor thisReferentialConstraintRole- Parameters:
annotationElements- Elementos- Returns:
ReferentialConstraintRolefor method chaining
-
-