|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Property.ContentType>
org.olap4j.metadata.Property.ContentType
public static enum Property.ContentType
Enumeration of the types of a Property
.
The values are as specified by XMLA.
For example, XMLA specifies MD_PROPTYPE_CAPTION with ordinal 0x21,
which corresponds to the value CAPTION
,
whose xmlaOrdinal
is 0x21.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.olap4j.metadata.XmlaConstant |
---|
XmlaConstant.Dictionary<E extends Enum<E> & XmlaConstant> |
Method Summary | |
---|---|
String |
getDescription()
Returns the description of this constant. |
static XmlaConstant.Dictionary<Property.ContentType> |
getDictionary()
Per XmlaConstant , returns a dictionary
of all values of this enumeration. |
static Property.ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Property.ContentType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
String |
xmlaName()
Returns the name of this constant as specified by XMLA. |
int |
xmlaOrdinal()
Returns the code of this constant as specified by XMLA. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Property.ContentType REGULAR
public static final Property.ContentType ID
public static final Property.ContentType RELATION_TO_PARENT
public static final Property.ContentType ROLLUP_OPERATOR
public static final Property.ContentType ORG_TITLE
public static final Property.ContentType CAPTION
public static final Property.ContentType CAPTION_SHORT
public static final Property.ContentType CAPTION_DESCRIPTION
public static final Property.ContentType CAPTION_ABREVIATION
public static final Property.ContentType WEB_URL
public static final Property.ContentType WEB_HTML
public static final Property.ContentType WEB_XML_OR_XSL
public static final Property.ContentType WEB_MAIL_ALIAS
public static final Property.ContentType ADDRESS
public static final Property.ContentType ADDRESS_STREET
public static final Property.ContentType ADDRESS_HOUSE
public static final Property.ContentType ADDRESS_CITY
public static final Property.ContentType ADDRESS_STATE_OR_PROVINCE
public static final Property.ContentType ADDRESS_ZIP
public static final Property.ContentType ADDRESS_QUARTER
public static final Property.ContentType ADDRESS_COUNTRY
public static final Property.ContentType ADDRESS_BUILDING
public static final Property.ContentType ADDRESS_ROOM
public static final Property.ContentType ADDRESS_FLOOR
public static final Property.ContentType ADDRESS_FAX
public static final Property.ContentType ADDRESS_PHONE
public static final Property.ContentType GEO_CENTROID_X
public static final Property.ContentType GEO_CENTROID_Y
public static final Property.ContentType GEO_CENTROID_Z
public static final Property.ContentType GEO_BOUNDARY_TOP
public static final Property.ContentType GEO_BOUNDARY_LEFT
public static final Property.ContentType GEO_BOUNDARY_BOTTOM
public static final Property.ContentType GEO_BOUNDARY_RIGHT
public static final Property.ContentType GEO_BOUNDARY_FRONT
public static final Property.ContentType GEO_BOUNDARY_REAR
public static final Property.ContentType GEO_BOUNDARY_POLYGON
public static final Property.ContentType PHYSICAL_SIZE
public static final Property.ContentType PHYSICAL_COLOR
public static final Property.ContentType PHYSICAL_WEIGHT
public static final Property.ContentType PHYSICAL_HEIGHT
public static final Property.ContentType PHYSICAL_WIDTH
public static final Property.ContentType PHYSICAL_DEPTH
public static final Property.ContentType PHYSICAL_VOLUME
public static final Property.ContentType PHYSICAL_DENSITY
public static final Property.ContentType PERSON_FULL_NAME
public static final Property.ContentType PERSON_FIRST_NAME
public static final Property.ContentType PERSON_LAST_NAME
public static final Property.ContentType PERSON_MIDDLE_NAME
public static final Property.ContentType PERSON_DEMOGRAPHIC
public static final Property.ContentType PERSON_CONTACT
public static final Property.ContentType QTY_RANGE_LOW
public static final Property.ContentType QTY_RANGE_HIGH
public static final Property.ContentType FORMATTING_COLOR
public static final Property.ContentType FORMATTING_ORDER
public static final Property.ContentType FORMATTING_FONT
public static final Property.ContentType FORMATTING_FONT_EFFECTS
public static final Property.ContentType FORMATTING_FONT_SIZE
public static final Property.ContentType FORMATTING_SUB_TOTAL
public static final Property.ContentType DATE
public static final Property.ContentType DATE_START
public static final Property.ContentType DATE_ENDED
public static final Property.ContentType DATE_CANCELED
public static final Property.ContentType DATE_MODIFIED
public static final Property.ContentType DATE_DURATION
public static final Property.ContentType VERSION
Method Detail |
---|
public static Property.ContentType[] values()
for (Property.ContentType c : Property.ContentType.values()) System.out.println(c);
public static Property.ContentType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String xmlaName()
XmlaConstant
Often the name is an enumeration-specific prefix plus the name of
the Java enum constant. For example,
Dimension.Type
has
prefix "MD_DIMTYPE_", and therefore this method returns
"MD_DIMTYPE_PRODUCTS" for the enum constant
Dimension.Type.PRODUCTS
.
xmlaName
in interface XmlaConstant
public String getDescription()
XmlaConstant
getDescription
in interface XmlaConstant
public int xmlaOrdinal()
XmlaConstant
For example, the XMLA specification says that the ordinal of
MD_DIMTYPE_PRODUCTS is 8, and therefore this method returns 8
for Dimension.Type.PRODUCTS
.
xmlaOrdinal
in interface XmlaConstant
public static XmlaConstant.Dictionary<Property.ContentType> getDictionary()
XmlaConstant
, returns a dictionary
of all values of this enumeration.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |