CsdlTypeRef
import io.skipcheck.tm1.csdl.CsdlTypeRef; A reference to a type, as written in a Type attribute: Edm.String,
tm1.Element, or Collection(tm1.Element).
Members
CsdlTypeRef constructor | Validates the components. |
parse static | Parses a Type attribute. |
isPrimitive | True for the built-in Edm.* types. |
toString | The type as written in CSDL, e.g. |
hashCode | |
equals | |
name | |
collection |
CsdlTypeRef
constructorCsdlTypeRef(String name, boolean collection)Validates the components.
parse
staticstatic CsdlTypeRef parse(String text) Parses a Type attribute.
Parameters
text- the attribute's value, e.g.
Collection(tm1.Element); surrounding whitespace is ignored
Returns
- the type reference
isPrimitive
boolean isPrimitive() True for the built-in Edm.* types.
Returns
- true if the type's name starts with
Edm.
toString
String toString()The type as written in CSDL, e.g. Collection(tm1.Element).
hashCode
int hashCode()equals
boolean equals(Object o)name
String name()collection
boolean collection()Also in the Javadoc.