skipcheck

TM1 CSDL docs · Metadata

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 constructorValidates the components.
parse staticParses a Type attribute.
isPrimitiveTrue for the built-in Edm.* types.
toStringThe type as written in CSDL, e.g.
hashCode
equals
name
collection

CsdlTypeRef

constructor
CsdlTypeRef(String name, boolean collection)

Validates the components.

parse

static
static 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.