- All Implemented Interfaces:
Serializable
,Comparable<FeatureFormat.Column>
,Constable
- Enclosing class:
FeatureFormat
Identifies the columns to include in the table formatted by
FeatureFormat
.
By default, all columns having at least one non-null value are shown. But a smaller
set of columns can be specified to the FeatureFormat.setAllowedColumns(Set)
method for formatting narrower tables.- Since:
- 0.8
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCardinality (for attributes) or multiplicity (for attribute types).Other attributes that describes the attribute.Natural language designator for the property.Name of the property.Whether a property is deprecated, or other remarks.Type of property values.Property value (for properties) or default value (for property types). -
Method Summary
Modifier and TypeMethodDescriptionstatic FeatureFormat.Column
Returns the enum constant of this class with the specified name.static FeatureFormat.Column[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
DESIGNATION
Natural language designator for the property. This is the character sequence returned byAbstractIdentifiedType.getDesignation()
. This column is omitted if no property has a designation. -
NAME
Name of the property. This is the character sequence returned byAbstractIdentifiedType.getName()
. -
TYPE
Type of property values. This is the type returned byDefaultAttributeType.getValueClass()
orDefaultAssociationRole.getValueType()
. -
CARDINALITY
Cardinality (for attributes) or multiplicity (for attribute types). The cardinality is the actual number of attribute values. The multiplicity is the minimum and maximum occurrences of attribute values. The multiplicity is made from the numbers returned byDefaultAttributeType.getMinimumOccurs()
andDefaultAttributeType.getMaximumOccurs()
. -
VALUE
Property value (for properties) or default value (for property types). This is the value returned byAbstractAttribute.getValue()
,AbstractAssociation.getValue()
orDefaultAttributeType.getDefaultValue()
. -
CHARACTERISTICS
Other attributes that describes the attribute. This is made from the map returned byAbstractAttribute.characteristics()
. This column is omitted if no property has characteristics. -
REMARKS
Whether a property is deprecated, or other remarks. This column is omitted if no property has remarks.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-