Package org.oasisopen.odata.csdl.v4
Class TRecordExpression
- java.lang.Object
-
- org.oasisopen.odata.csdl.v4.TRecordExpression
-
public class TRecordExpression extends Object
Java class for TRecordExpression complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TRecordExpression"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <element name="PropertyValue" type="{http://docs.oasis-open.org/odata/ns/edm}TPropertyValue"/> <element ref="{http://docs.oasis-open.org/odata/ns/edm}Annotation"/> </choice> <attribute name="Type" type="{http://docs.oasis-open.org/odata/ns/edm}TQualifiedName" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Object>propertyValueOrAnnotationprotected Stringtype
-
Constructor Summary
Constructors Constructor Description TRecordExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getPropertyValueOrAnnotation()Gets the value of the propertyValueOrAnnotation property.StringgetType()Gets the value of the type property.voidsetType(String value)Sets the value of the type property.
-
-
-
Method Detail
-
getPropertyValueOrAnnotation
public List<Object> getPropertyValueOrAnnotation()
Gets the value of the propertyValueOrAnnotation 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 propertyValueOrAnnotation property.For example, to add a new item, do as follows:
getPropertyValueOrAnnotation().add(newItem);Objects of the following type(s) are allowed in the list
TPropertyValueAnnotation
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
-