|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.referencing.wkt.Formattable org.geotools.referencing.AbstractIdentifiedObject org.geotools.parameter.AbstractParameterDescriptor org.geotools.parameter.DefaultParameterDescriptorGroup
The definition of a group of related parameters used by an operation method.
ParameterGroup
,
DefaultParameterDescriptor
,
Serialized FormField Summary |
Fields inherited from class org.geotools.referencing.AbstractIdentifiedObject |
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR |
Fields inherited from interface org.opengis.referencing.IdentifiedObject |
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary | |
DefaultParameterDescriptorGroup(org.opengis.metadata.citation.Citation authority,
java.lang.String name,
org.opengis.parameter.GeneralParameterDescriptor[] parameters)
Constructs a parameter group from a name and an authority. |
|
DefaultParameterDescriptorGroup(java.util.Map properties,
org.opengis.parameter.GeneralParameterDescriptor[] parameters)
Constructs a parameter group from a set of properties. |
|
DefaultParameterDescriptorGroup(java.util.Map properties,
int minimumOccurs,
int maximumOccurs,
org.opengis.parameter.GeneralParameterDescriptor[] parameters)
Constructs a parameter group from a set of properties. |
|
DefaultParameterDescriptorGroup(org.opengis.parameter.ParameterDescriptorGroup group)
Constructs a group with the same values than the specified one. |
|
DefaultParameterDescriptorGroup(java.lang.String name,
org.opengis.parameter.GeneralParameterDescriptor[] parameters)
Constructs a parameter group from a name. |
Method Summary | |
org.opengis.parameter.GeneralParameterValue |
createValue()
Creates a new instance of parameter value group initialized with the default values. |
org.opengis.parameter.GeneralParameterDescriptor |
descriptor(java.lang.String name)
Returns the first parameter in this group for the specified identifier code. |
java.util.List |
descriptors()
Returns the parameters in this group. |
boolean |
equals(AbstractIdentifiedObject object,
boolean compareMetadata)
Compares the specified object with this parameter group for equality. |
int |
getMaximumOccurs()
The maximum number of times that values for this parameter group are required. |
int |
hashCode()
Returns a hash value for this parameter. |
Methods inherited from class org.geotools.parameter.AbstractParameterDescriptor |
formatWKT, getMinimumOccurs |
Methods inherited from class org.geotools.referencing.AbstractIdentifiedObject |
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches |
Methods inherited from class org.geotools.referencing.wkt.Formattable |
toString, toWKT, toWKT, toWKT |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.parameter.GeneralParameterDescriptor |
getMinimumOccurs |
Methods inherited from interface org.opengis.referencing.IdentifiedObject |
getAlias, getIdentifiers, getName, getRemarks, toWKT |
Constructor Detail |
public DefaultParameterDescriptorGroup(org.opengis.parameter.ParameterDescriptorGroup group)
public DefaultParameterDescriptorGroup(java.lang.String name, org.opengis.parameter.GeneralParameterDescriptor[] parameters)
name
- The parameter group name.parameters
- The parameter descriptors for this group.public DefaultParameterDescriptorGroup(org.opengis.metadata.citation.Citation authority, java.lang.String name, org.opengis.parameter.GeneralParameterDescriptor[] parameters)
authority
- The authority (e.g.
OGC
).name
- The parameter group name.parameters
- The parameter descriptors for this group.public DefaultParameterDescriptorGroup(java.util.Map properties, org.opengis.parameter.GeneralParameterDescriptor[] parameters)
properties
- Set of properties. Should contains at least .parameters
- The parameter descriptors for this group.public DefaultParameterDescriptorGroup(java.util.Map properties, int minimumOccurs, int maximumOccurs, org.opengis.parameter.GeneralParameterDescriptor[] parameters)
properties
- Set of properties. Should contains at least .minimumOccurs
- The minimum number of times
that values for this parameter group are required.maximumOccurs
- The maximum number of times
that values for this parameter group are required.parameters
- The parameter descriptors for this group.Method Detail |
public int getMaximumOccurs()
getMaximumOccurs
in interface org.opengis.parameter.GeneralParameterDescriptor
getMaximumOccurs
in class AbstractParameterDescriptor
AbstractParameterDescriptor.getMinimumOccurs()
public org.opengis.parameter.GeneralParameterValue createValue()
createValue
in interface org.opengis.parameter.GeneralParameterDescriptor
createValue
in class AbstractParameterDescriptor
public java.util.List descriptors()
descriptors
in interface org.opengis.parameter.ParameterDescriptorGroup
public org.opengis.parameter.GeneralParameterDescriptor descriptor(java.lang.String name) throws org.opengis.parameter.ParameterNotFoundException
descriptor
in interface org.opengis.parameter.ParameterDescriptorGroup
name
- The case insensitive identifier code of the
parameter to search for.
org.opengis.parameter.ParameterNotFoundException
- if there is no parameter for the given identifier code.public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)
equals
in class AbstractParameterDescriptor
object
- The object to compare to .compareMetadata
- for performing a strict comparaison, or
for comparing only properties relevant to transformations.
public int hashCode()
hashCode
in class AbstractParameterDescriptor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |