Interface CsdlValue
- All Known Implementing Classes:
CsdlValue.Collection, CsdlValue.Constant, CsdlValue.Empty, CsdlValue.Other, CsdlValue.Record
public sealed interface CsdlValue
permits CsdlValue.Constant, CsdlValue.Collection, CsdlValue.Record, CsdlValue.Empty, CsdlValue.Other
The value of a CSDL annotation: a constant, a collection or a record. Expression kinds
the client doesn't interpret (paths,
If, Apply and so on) are kept as
CsdlValue.Other, with their element name.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordACollectionof values, in document order.static final recordAString,Bool,Int,Decimal,EnumMemberor other constant, as written.static final recordAn annotation with no value, such as<Annotation Term="Core.ConventionalIDs"/>, which means true for a Boolean term.static final recordAn expression the client doesn't interpret, kept by element name.static final recordARecord: property values by name, in document order. -
Method Summary
-
Method Details
-
asText
This value's text if it's a constant.- Returns:
- the constant's text, or empty if this isn't a
CsdlValue.Constant
-