Package org.oasisopen.odata.csdl.v4
Class TReferentialConstraint
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TReferentialConstraint
-
public class TReferentialConstraint extends Object
Java class for TReferentialConstraint complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TReferentialConstraint"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Property" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TPath" /> <attribute name="ReferencedProperty" use="required" type="{http://docs.oasis-open.org/odata/ns/edm}TPath" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Annotation>annotationprotected Stringpropertyprotected StringreferencedProperty
-
Constructor Summary
Constructors Constructor Description TReferentialConstraint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Annotation>getAnnotation()Gets the value of the annotation property.StringgetProperty()Gets the value of the property property.StringgetReferencedProperty()Gets the value of the referencedProperty property.voidsetProperty(String value)Sets the value of the property property.voidsetReferencedProperty(String value)Sets the value of the referencedProperty property.
-
-
-
Field Detail
-
annotation
protected List<Annotation> annotation
-
property
protected String property
-
referencedProperty
protected String referencedProperty
-
-
Method Detail
-
getAnnotation
public List<Annotation> getAnnotation()
Gets the value of the annotation property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the annotation property.For example, to add a new item, do as follows:
getAnnotation().add(newItem);Objects of the following type(s) are allowed in the list
Annotation
-
getProperty
public String getProperty()
Gets the value of the property property.- Returns:
- possible object is
String
-
setProperty
public void setProperty(String value)
Sets the value of the property property.- Parameters:
value- allowed object isString
-
getReferencedProperty
public String getReferencedProperty()
Gets the value of the referencedProperty property.- Returns:
- possible object is
String
-
-