Package org.olap4j.metadata
Enum Property.ContentType
- java.lang.Object
-
- java.lang.Enum<Property.ContentType>
-
- org.olap4j.metadata.Property.ContentType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Property.ContentType>
,XmlaConstant
- Enclosing interface:
- Property
public static enum Property.ContentType extends java.lang.Enum<Property.ContentType> implements XmlaConstant
Enumeration of the types of aProperty
.The values are as specified by XMLA. For example, XMLA specifies MD_PROPTYPE_CAPTION with ordinal 0x21, which corresponds to the value
CAPTION
, whosexmlaOrdinal
is 0x21.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.olap4j.metadata.XmlaConstant
XmlaConstant.Dictionary<E extends java.lang.Enum<E> & XmlaConstant>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns the description of this constant.static XmlaConstant.Dictionary<Property.ContentType>
getDictionary()
PerXmlaConstant
, returns a dictionary of all values of this enumeration.static Property.ContentType
valueOf(java.lang.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.java.lang.String
xmlaName()
Returns the name of this constant as specified by XMLA.int
xmlaOrdinal()
Returns the code of this constant as specified by XMLA.
-
-
-
Enum Constant Detail
-
REGULAR
public static final Property.ContentType REGULAR
-
ID
public static final Property.ContentType ID
-
RELATION_TO_PARENT
public static final Property.ContentType RELATION_TO_PARENT
-
ROLLUP_OPERATOR
public static final Property.ContentType ROLLUP_OPERATOR
-
ORG_TITLE
public static final Property.ContentType ORG_TITLE
-
CAPTION
public static final Property.ContentType CAPTION
-
CAPTION_SHORT
public static final Property.ContentType CAPTION_SHORT
-
CAPTION_DESCRIPTION
public static final Property.ContentType CAPTION_DESCRIPTION
-
CAPTION_ABREVIATION
public static final Property.ContentType CAPTION_ABREVIATION
-
WEB_URL
public static final Property.ContentType WEB_URL
-
WEB_HTML
public static final Property.ContentType WEB_HTML
-
WEB_XML_OR_XSL
public static final Property.ContentType WEB_XML_OR_XSL
-
WEB_MAIL_ALIAS
public static final Property.ContentType WEB_MAIL_ALIAS
-
ADDRESS
public static final Property.ContentType ADDRESS
-
ADDRESS_STREET
public static final Property.ContentType ADDRESS_STREET
-
ADDRESS_HOUSE
public static final Property.ContentType ADDRESS_HOUSE
-
ADDRESS_CITY
public static final Property.ContentType ADDRESS_CITY
-
ADDRESS_STATE_OR_PROVINCE
public static final Property.ContentType ADDRESS_STATE_OR_PROVINCE
-
ADDRESS_ZIP
public static final Property.ContentType ADDRESS_ZIP
-
ADDRESS_QUARTER
public static final Property.ContentType ADDRESS_QUARTER
-
ADDRESS_COUNTRY
public static final Property.ContentType ADDRESS_COUNTRY
-
ADDRESS_BUILDING
public static final Property.ContentType ADDRESS_BUILDING
-
ADDRESS_ROOM
public static final Property.ContentType ADDRESS_ROOM
-
ADDRESS_FLOOR
public static final Property.ContentType ADDRESS_FLOOR
-
ADDRESS_FAX
public static final Property.ContentType ADDRESS_FAX
-
ADDRESS_PHONE
public static final Property.ContentType ADDRESS_PHONE
-
GEO_CENTROID_X
public static final Property.ContentType GEO_CENTROID_X
-
GEO_CENTROID_Y
public static final Property.ContentType GEO_CENTROID_Y
-
GEO_CENTROID_Z
public static final Property.ContentType GEO_CENTROID_Z
-
GEO_BOUNDARY_TOP
public static final Property.ContentType GEO_BOUNDARY_TOP
-
GEO_BOUNDARY_LEFT
public static final Property.ContentType GEO_BOUNDARY_LEFT
-
GEO_BOUNDARY_BOTTOM
public static final Property.ContentType GEO_BOUNDARY_BOTTOM
-
GEO_BOUNDARY_RIGHT
public static final Property.ContentType GEO_BOUNDARY_RIGHT
-
GEO_BOUNDARY_FRONT
public static final Property.ContentType GEO_BOUNDARY_FRONT
-
GEO_BOUNDARY_REAR
public static final Property.ContentType GEO_BOUNDARY_REAR
-
GEO_BOUNDARY_POLYGON
public static final Property.ContentType GEO_BOUNDARY_POLYGON
-
PHYSICAL_SIZE
public static final Property.ContentType PHYSICAL_SIZE
-
PHYSICAL_COLOR
public static final Property.ContentType PHYSICAL_COLOR
-
PHYSICAL_WEIGHT
public static final Property.ContentType PHYSICAL_WEIGHT
-
PHYSICAL_HEIGHT
public static final Property.ContentType PHYSICAL_HEIGHT
-
PHYSICAL_WIDTH
public static final Property.ContentType PHYSICAL_WIDTH
-
PHYSICAL_DEPTH
public static final Property.ContentType PHYSICAL_DEPTH
-
PHYSICAL_VOLUME
public static final Property.ContentType PHYSICAL_VOLUME
-
PHYSICAL_DENSITY
public static final Property.ContentType PHYSICAL_DENSITY
-
PERSON_FULL_NAME
public static final Property.ContentType PERSON_FULL_NAME
-
PERSON_FIRST_NAME
public static final Property.ContentType PERSON_FIRST_NAME
-
PERSON_LAST_NAME
public static final Property.ContentType PERSON_LAST_NAME
-
PERSON_MIDDLE_NAME
public static final Property.ContentType PERSON_MIDDLE_NAME
-
PERSON_DEMOGRAPHIC
public static final Property.ContentType PERSON_DEMOGRAPHIC
-
PERSON_CONTACT
public static final Property.ContentType PERSON_CONTACT
-
QTY_RANGE_LOW
public static final Property.ContentType QTY_RANGE_LOW
-
QTY_RANGE_HIGH
public static final Property.ContentType QTY_RANGE_HIGH
-
FORMATTING_COLOR
public static final Property.ContentType FORMATTING_COLOR
-
FORMATTING_ORDER
public static final Property.ContentType FORMATTING_ORDER
-
FORMATTING_FONT
public static final Property.ContentType FORMATTING_FONT
-
FORMATTING_FONT_EFFECTS
public static final Property.ContentType FORMATTING_FONT_EFFECTS
-
FORMATTING_FONT_SIZE
public static final Property.ContentType FORMATTING_FONT_SIZE
-
FORMATTING_SUB_TOTAL
public static final Property.ContentType FORMATTING_SUB_TOTAL
-
DATE
public static final Property.ContentType DATE
-
DATE_START
public static final Property.ContentType DATE_START
-
DATE_ENDED
public static final Property.ContentType DATE_ENDED
-
DATE_CANCELED
public static final Property.ContentType DATE_CANCELED
-
DATE_MODIFIED
public static final Property.ContentType DATE_MODIFIED
-
DATE_DURATION
public static final Property.ContentType DATE_DURATION
-
VERSION
public static final Property.ContentType VERSION
-
-
Method Detail
-
values
public static Property.ContentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Property.ContentType c : Property.ContentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Property.ContentType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
xmlaName
public java.lang.String xmlaName()
Description copied from interface:XmlaConstant
Returns the name of this constant as specified by XMLA.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 constantDimension.Type.PRODUCTS
.- Specified by:
xmlaName
in interfaceXmlaConstant
- Returns:
- ordinal code as specified by XMLA.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:XmlaConstant
Returns the description of this constant.- Specified by:
getDescription
in interfaceXmlaConstant
- Returns:
- Description of this constant.
-
xmlaOrdinal
public int xmlaOrdinal()
Description copied from interface:XmlaConstant
Returns the code of this constant as specified by XMLA.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
.- Specified by:
xmlaOrdinal
in interfaceXmlaConstant
- Returns:
- ordinal code as specified by XMLA.
-
getDictionary
public static XmlaConstant.Dictionary<Property.ContentType> getDictionary()
PerXmlaConstant
, returns a dictionary of all values of this enumeration.- Returns:
- Dictionary of all values
-
-