org.olap4j.metadata
Enum Property.ContentType

java.lang.Object
  extended by java.lang.Enum<Property.ContentType>
      extended by org.olap4j.metadata.Property.ContentType
All Implemented Interfaces:
Serializable, Comparable<Property.ContentType>, XmlaConstant
Enclosing interface:
Property

public static enum Property.ContentType
extends Enum<Property.ContentType>
implements XmlaConstant

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>
 
Enum Constant Summary
ADDRESS
           
ADDRESS_BUILDING
           
ADDRESS_CITY
           
ADDRESS_COUNTRY
           
ADDRESS_FAX
           
ADDRESS_FLOOR
           
ADDRESS_HOUSE
           
ADDRESS_PHONE
           
ADDRESS_QUARTER
           
ADDRESS_ROOM
           
ADDRESS_STATE_OR_PROVINCE
           
ADDRESS_STREET
           
ADDRESS_ZIP
           
CAPTION
           
CAPTION_ABREVIATION
           
CAPTION_DESCRIPTION
           
CAPTION_SHORT
           
DATE
           
DATE_CANCELED
           
DATE_DURATION
           
DATE_ENDED
           
DATE_MODIFIED
           
DATE_START
           
FORMATTING_COLOR
           
FORMATTING_FONT
           
FORMATTING_FONT_EFFECTS
           
FORMATTING_FONT_SIZE
           
FORMATTING_ORDER
           
FORMATTING_SUB_TOTAL
           
GEO_BOUNDARY_BOTTOM
           
GEO_BOUNDARY_FRONT
           
GEO_BOUNDARY_LEFT
           
GEO_BOUNDARY_POLYGON
           
GEO_BOUNDARY_REAR
           
GEO_BOUNDARY_RIGHT
           
GEO_BOUNDARY_TOP
           
GEO_CENTROID_X
           
GEO_CENTROID_Y
           
GEO_CENTROID_Z
           
ID
           
ORG_TITLE
           
PERSON_CONTACT
           
PERSON_DEMOGRAPHIC
           
PERSON_FIRST_NAME
           
PERSON_FULL_NAME
           
PERSON_LAST_NAME
           
PERSON_MIDDLE_NAME
           
PHYSICAL_COLOR
           
PHYSICAL_DENSITY
           
PHYSICAL_DEPTH
           
PHYSICAL_HEIGHT
           
PHYSICAL_SIZE
           
PHYSICAL_VOLUME
           
PHYSICAL_WEIGHT
           
PHYSICAL_WIDTH
           
QTY_RANGE_HIGH
           
QTY_RANGE_LOW
           
REGULAR
           
RELATION_TO_PARENT
           
ROLLUP_OPERATOR
           
VERSION
           
WEB_HTML
           
WEB_MAIL_ALIAS
           
WEB_URL
           
WEB_XML_OR_XSL
           
 
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

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(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

xmlaName

public 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 constant Dimension.Type.PRODUCTS.

Specified by:
xmlaName in interface XmlaConstant
Returns:
ordinal code as specified by XMLA.

getDescription

public String getDescription()
Description copied from interface: XmlaConstant
Returns the description of this constant.

Specified by:
getDescription in interface XmlaConstant
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 interface XmlaConstant
Returns:
ordinal code as specified by XMLA.

getDictionary

public static XmlaConstant.Dictionary<Property.ContentType> getDictionary()
Per XmlaConstant, returns a dictionary of all values of this enumeration.

Returns:
Dictionary of all values

SourceForge.net_Logo