| org.geotools.referencing.AbstractIdentifiedObject org.geotools.parameter.AbstractParameterDescriptor org.geotools.parameter.DefaultParameterDescriptorGroup
All known Subclasses: org.geotools.parameter.ImagingParameterDescriptors, org.geotools.parameter.MatrixParameterDescriptors,
DefaultParameterDescriptorGroup | public class DefaultParameterDescriptorGroup extends AbstractParameterDescriptor implements ParameterDescriptorGroup(Code) | | The definition of a group of related parameters used by an operation method.
since: 2.1 version: $Id: DefaultParameterDescriptorGroup.java 25262 2007-04-23 21:11:16Z desruisseaux $ author: Martin Desruisseaux See Also: ParameterGroup See Also: DefaultParameterDescriptor |
Method Summary | |
public GeneralParameterValue | createValue() Creates a new instance of
initialized with the
. | public GeneralParameterDescriptor | descriptor(String name) Returns the first parameter in this group for the specified
.
Parameters: name - The case insensitive of theparameter to search for. | public List | descriptors() Returns the parameters in this group. | public boolean | equals(AbstractIdentifiedObject object, boolean compareMetadata) Compares the specified object with this parameter group for equality.
Parameters: object - The object to compare to this . Parameters: compareMetadata - true for performing a strict comparaison, or false for comparing only properties relevant to transformations. | public int | getMaximumOccurs() The maximum number of times that values for this parameter group are required. | public int | hashCode() Returns a hash value for this parameter.
The hash code value. |
DefaultParameterDescriptorGroup | public DefaultParameterDescriptorGroup(ParameterDescriptorGroup group)(Code) | | Constructs a group with the same values than the specified one. This copy constructor
may be used in order to wraps an arbitrary implementation into a Geotools one.
since: 2.2 |
DefaultParameterDescriptorGroup | public DefaultParameterDescriptorGroup(String name, GeneralParameterDescriptor[] parameters)(Code) | | Constructs a parameter group from a name.
This parameter group will be required exactly once.
Parameters: name - The parameter group name. Parameters: parameters - The for this group. |
DefaultParameterDescriptorGroup | public DefaultParameterDescriptorGroup(Citation authority, String name, GeneralParameterDescriptor[] parameters)(Code) | | Constructs a parameter group from a name and an authority.
This parameter group will be required exactly once.
Parameters: authority - The authority (e.g.org.geotools.metadata.iso.citation.Citations.OGC OGC). Parameters: name - The parameter group name. Parameters: parameters - The for this group. since: 2.2 |
DefaultParameterDescriptorGroup | public DefaultParameterDescriptorGroup(Map properties, GeneralParameterDescriptor[] parameters)(Code) | | Constructs a parameter group from a set of properties.
This parameter group will be required exactly once. The properties map is given unchanged to
the
.
Parameters: properties - Set of properties. Should contains at least "name" . Parameters: parameters - The for this group. |
DefaultParameterDescriptorGroup | public DefaultParameterDescriptorGroup(Map properties, int minimumOccurs, int maximumOccurs, GeneralParameterDescriptor[] parameters)(Code) | | Constructs a parameter group from a set of properties. The properties map is given
unchanged to the
.
Parameters: properties - Set of properties. Should contains at least "name" . Parameters: minimumOccurs - The that values for this parameter group are required. Parameters: maximumOccurs - The that values for this parameter group are required. Parameters: parameters - The for this group. |
createValue | public GeneralParameterValue createValue()(Code) | | Creates a new instance of
initialized with the
.
The
for the created group will be
this object.
|
descriptor | public GeneralParameterDescriptor descriptor(String name) throws ParameterNotFoundException(Code) | | Returns the first parameter in this group for the specified
.
Parameters: name - The case insensitive of theparameter to search for. The parameter for the given identifier code. throws: ParameterNotFoundException - if there is no parameter for the given identifier code. |
descriptors | public List descriptors()(Code) | | Returns the parameters in this group.
|
equals | public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code) | | Compares the specified object with this parameter group for equality.
Parameters: object - The object to compare to this . Parameters: compareMetadata - true for performing a strict comparaison, or false for comparing only properties relevant to transformations. true if both objects are equal. |
hashCode | public int hashCode()(Code) | | Returns a hash value for this parameter.
The hash code value. This value doesn't need to be the samein past or future versions of this class. |
Methods inherited from org.geotools.referencing.AbstractIdentifiedObject | protected static Set asSet(Object[] array)(Code)(Java Doc) protected static void ensureAngularUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc) protected static void ensureLinearUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc) protected static void ensureNonNull(String name, Object object) throws IllegalArgumentException(Code)(Java Doc) protected static void ensureNonNull(String name, Object[] array, int index) throws IllegalArgumentException(Code)(Java Doc) protected static void ensureTimeUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc) final public boolean equals(Object object)(Code)(Java Doc) public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)(Java Doc) protected static boolean equals(IdentifiedObject object1, IdentifiedObject object2, boolean compareMetadata)(Code)(Java Doc) protected static boolean equals(IdentifiedObject[] array1, IdentifiedObject[] array2, boolean compareMetadata)(Code)(Java Doc) protected static boolean equals(Collection collection1, Collection collection2, boolean compareMetadata)(Code)(Java Doc) public Collection getAlias()(Code)(Java Doc) public ReferenceIdentifier getIdentifier(Citation authority)(Code)(Java Doc) public static ReferenceIdentifier getIdentifier(IdentifiedObject info, Citation authority)(Code)(Java Doc) public Set getIdentifiers()(Code)(Java Doc) public ReferenceIdentifier getName()(Code)(Java Doc) public String getName(Citation authority)(Code)(Java Doc) public static String getName(IdentifiedObject info, Citation authority)(Code)(Java Doc) public static Map getProperties(IdentifiedObject info)(Code)(Java Doc) public static Map getProperties(IdentifiedObject info, Citation authority)(Code)(Java Doc) public InternationalString getRemarks()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public boolean nameMatches(String name)(Code)(Java Doc) public static boolean nameMatches(IdentifiedObject object, String name)(Code)(Java Doc) public static boolean nameMatches(IdentifiedObject o1, IdentifiedObject o2)(Code)(Java Doc)
|
|
|