Class CC_GeneralOperationParameter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<CC_GeneralOperationParameter,org.opengis.parameter.GeneralParameterDescriptor>
org.apache.sis.internal.jaxb.gco.PropertyType<CC_GeneralOperationParameter,org.opengis.parameter.GeneralParameterDescriptor>
org.apache.sis.internal.jaxb.referencing.CC_GeneralOperationParameter
public final class CC_GeneralOperationParameter
extends PropertyType<CC_GeneralOperationParameter,org.opengis.parameter.GeneralParameterDescriptor>
JAXB adapter mapping implementing class to the GeoAPI interface. See
package documentation for more information about JAXB and interface.
This class provides additional merge(…) methods for building a unique descriptor
instance when the same descriptor is declared in more than one place in the GML document.
Some examples of duplications are:
- The descriptors listed under the
<gml:group>element, which duplicate the descriptors listed under each<gml:parameterValue>element. - The descriptors declared in each parameter value of a
SingleOperation, which duplicate the descriptors declared in the associatedOperationMethod.
- Since:
- 0.6
- Version:
- 1.3
- Author:
- Martin Desruisseaux (Geomatys)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortThe default value ofminimumOccursandmaximumOccursif the XML element is not provided.Fields inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<org.opengis.parameter.GeneralParameterDescriptor> Returns the GeoAPI interface which is bound by this adapter.Invoked by JAXB at marshalling time for getting the actual element to write inside the<gml:parameter>XML element.voidsetElement(AbstractParameterDescriptor parameter) Invoked by JAXB at unmarshalling time for storing the result temporarily.protected CC_GeneralOperationParameterwrap(org.opengis.parameter.GeneralParameterDescriptor parameter) Invoked byPropertyTypeat marshalling time for wrapping the given value in a<gml:OperationParameter>or<gml:OperationParameterGroup>XML element.Methods inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
accept2014, getActuate, getArcRole, getHRef, getNilReason, getRole, getShow, getTitle, getUUIDREF, incomplete, marshal, setActuate, setArcRole, setHRef, setNilReason, setRole, setShow, setTitle, setUUIDREF, unmarshal
-
Field Details
-
DEFAULT_OCCURRENCE
public static final short DEFAULT_OCCURRENCEThe default value ofminimumOccursandmaximumOccursif the XML element is not provided.- See Also:
-
-
Constructor Details
-
CC_GeneralOperationParameter
public CC_GeneralOperationParameter()Empty constructor for JAXB only.
-
-
Method Details
-
getBoundType
Returns the GeoAPI interface which is bound by this adapter. This method is indirectly invoked by the private constructor below, so it shall not depend on the state of this object.- Specified by:
getBoundTypein classPropertyType<CC_GeneralOperationParameter,org.opengis.parameter.GeneralParameterDescriptor> - Returns:
GeneralParameterDescriptor.class
-
wrap
protected CC_GeneralOperationParameter wrap(org.opengis.parameter.GeneralParameterDescriptor parameter) Invoked byPropertyTypeat marshalling time for wrapping the given value in a<gml:OperationParameter>or<gml:OperationParameterGroup>XML element.- Specified by:
wrapin classPropertyType<CC_GeneralOperationParameter,org.opengis.parameter.GeneralParameterDescriptor> - Parameters:
parameter- the element to marshal.- Returns:
- a
PropertyTypewrapping the given the element.
-
getElement
Invoked by JAXB at marshalling time for getting the actual element to write inside the<gml:parameter>XML element. This is the value or a copy of the value given in argument to thewrapmethod.- Returns:
- the element to be marshalled.
- See Also:
-
setElement
Invoked by JAXB at unmarshalling time for storing the result temporarily.- Parameters:
parameter- the unmarshalled element.
-