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>
| Modifier and Type | Field and Description |
|---|---|
protected List<Annotation> |
annotation |
protected String |
property |
protected String |
referencedProperty |
| Constructor and Description |
|---|
TReferentialConstraint() |
| Modifier and Type | Method and Description |
|---|---|
List<Annotation> |
getAnnotation()
Gets the value of the annotation property.
|
String |
getProperty()
Gets the value of the property property.
|
String |
getReferencedProperty()
Gets the value of the referencedProperty property.
|
void |
setProperty(String value)
Sets the value of the property property.
|
void |
setReferencedProperty(String value)
Sets the value of the referencedProperty property.
|
protected List<Annotation> annotation
protected String property
protected String referencedProperty
public List<Annotation> getAnnotation()
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 set method 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
public String getProperty()
Stringpublic void setProperty(String value)
value - allowed object is
Stringpublic String getReferencedProperty()
StringCopyright © 2018–2020. All rights reserved.