Class DefaultAttributeGroup
Object
AbstractMetadata
ModifiableMetadata
ISOMetadata
DefaultAttributeGroup
- All Implemented Interfaces:
- Serializable,- Emptiable,- LenientComparable,- IdentifiedObject
@UML(identifier="MD_AttributeGroup",
     specification=ISO_19115)
public class DefaultAttributeGroup
extends ISOMetadata
Information about content type for groups of attributes for a specific
 range dimension.
 The following property is mandatory in a well-formed metadata according ISO 19115:
 
 
MD_AttributeGroup
   └─contentType…… Content typeNote on International Standard versions
This class is derived from a new type defined in the ISO 19115 international standard published in 2014, while GeoAPI 3.0 is based on the version published in 2003. Consequently this implementation class does not yet implement a GeoAPI interface, but is expected to do so after the next GeoAPI releases. When the interface will become available, all references to this implementation class in Apache SIS will be replaced be references to the
 This class is derived from a new type defined in the ISO 19115 international standard published in 2014, while GeoAPI 3.0 is based on the version published in 2003. Consequently this implementation class does not yet implement a GeoAPI interface, but is expected to do so after the next GeoAPI releases. When the interface will become available, all references to this implementation class in Apache SIS will be replaced be references to the
AttributeGroup interface.
 Limitations
- Instances of this class are not synchronized for multi-threading. Synchronization, if needed, is caller's responsibility.
- Serialized objects of this class are not guaranteed to be compatible with future Apache SIS releases.
       Serialization support is appropriate for short term storage or RMI between applications running the
       same version of Apache SIS. For long term storage, use XMLinstead.
- Since:
- 0.5
- See Also:
Defined in the sis-metadata module
- 
Nested Class SummaryNested classes/interfaces inherited from class ModifiableMetadataModifiableMetadata.State
- 
Field SummaryFields inherited from class ISOMetadataidentifiers
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs an initially empty attribute group.Constructs a new instance initialized with the values from the specified metadata object.DefaultAttributeGroup(CoverageContentType contentType, RangeDimension attribute) Constructs an attribute group initialized to the given values.
- 
Method SummaryModifier and TypeMethodDescriptionReturns information on an attribute of the resource.Returns the types of information represented by the value(s).voidsetAttributes(Collection<? extends RangeDimension> newValues) Sets information on an attribute of the resource.voidsetContentTypes(Collection<? extends CoverageContentType> newValues) Sets the types of information represented by the value(s).Methods inherited from class ISOMetadatagetIdentifier, getIdentifierMap, getIdentifiers, getStandard, setIdentifier, transitionToMethods inherited from class ModifiableMetadatacheckWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSetMethods inherited from class AbstractMetadataasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
- 
Constructor Details- 
DefaultAttributeGrouppublic DefaultAttributeGroup()Constructs an initially empty attribute group.
- 
DefaultAttributeGroupConstructs an attribute group initialized to the given values.- Parameters:
- contentType- type of information represented by the value, or- null.
- attribute- the attribute, or- null.
 
- 
DefaultAttributeGroupConstructs a new instance initialized with the values from the specified metadata object. This is a shallow copy constructor, because the other metadata contained in the given object are not recursively copied.- Parameters:
- object- the metadata to copy values from, or- nullif none.
 
 
- 
- 
Method Details- 
getContentTypes@UML(identifier="contentType", obligation=MANDATORY, specification=ISO_19115) public Collection<CoverageContentType> getContentTypes()Returns the types of information represented by the value(s).- Returns:
- the types of information represented by the value(s).
 
- 
setContentTypesSets the types of information represented by the value(s).- Parameters:
- newValues- the new types of information.
 
- 
getAttributes@UML(identifier="attribute", obligation=OPTIONAL, specification=ISO_19115) public Collection<RangeDimension> getAttributes()Returns information on an attribute of the resource.- Returns:
- information on an attribute of the resource.
 
- 
setAttributesSets information on an attribute of the resource.- Parameters:
- newValues- the new attributes.
 
 
-