|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.protocol.ows.metadata.domain.Domain
public class Domain
Defines the domain of validity for a quantity with an optional name.
Data model has been designed to capture the expressiveness of all OWS specifications and versions and was verified against the following specifications:
From OWS Common 2.0: Valid domain (or allowed set of values) of one quantity, with its name or identifier.
Constructor Summary | |
---|---|
Domain(String name,
List<String> allowedValues)
Creates a new Domain instance with an AllowedValues value model. |
|
Domain(String name,
PossibleValues possibleValues,
String defaultValue,
StringOrRef meaning,
StringOrRef dataType,
StringOrRef valuesUnitUom,
StringOrRef valuesUnitRefSys,
List<org.apache.axiom.om.OMElement> metadata)
Creates a new Domain instance. |
|
Domain(String name,
String defaultValue)
Creates a new Domain instance with a NoValues value model and a default value (as used for
service profile constraints, e.g. in WFS 2.0). |
Method Summary | |
---|---|
StringOrRef |
getDataType()
Returns the data type. |
String |
getDefaultValue()
Returns the default value. |
StringOrRef |
getMeaning()
Returns the meaning. |
List<org.apache.axiom.om.OMElement> |
getMetadata()
Returns additional metadata. |
String |
getName()
Returns the name or identifier of the quantity. |
PossibleValues |
getPossibleValues()
Returns the possible values. |
StringOrRef |
getValuesUnitRefSys()
Returns the unit reference system identifier. |
StringOrRef |
getValuesUnitUom()
Returns the unit-of-measure identifier. |
void |
setDataTypeName(StringOrRef dataType)
|
void |
setDefaultValue(String defaultValue)
|
void |
setMeaning(StringOrRef meaning)
|
void |
setName(String name)
|
void |
setPossibleValues(PossibleValues possibleValues)
|
void |
setValuesUnitRefSys(StringOrRef valuesUnitRefSys)
|
void |
setValuesUnitUom(StringOrRef valuesUnitUom)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Domain(String name, List<String> allowedValues)
Domain
instance with an AllowedValues
value model.
name
- domain name, may be null
allowedValues
- allowed values, must not be null
public Domain(String name, String defaultValue)
Domain
instance with a NoValues
value model and a default value (as used for
service profile constraints, e.g. in WFS 2.0).
name
- domain name, may be null
defaultValue
- default value, must not be null
public Domain(String name, PossibleValues possibleValues, String defaultValue, StringOrRef meaning, StringOrRef dataType, StringOrRef valuesUnitUom, StringOrRef valuesUnitRefSys, List<org.apache.axiom.om.OMElement> metadata)
Domain
instance.
name
- domain name, may be null
possibleValues
- possible values, may be null
defaultValue
- default value, may be null
meaning
- meaning, may be null
dataType
- data type, may be null
valuesUnitUom
- unit-of-measure identifier for the value, may be null
valuesUnitRefSys
- unit-of-measure reference system identifier, may be null
metadata
- additional metadata, may be null
Method Detail |
---|
public String getName()
From OWS Common 2.0: Name or identifier of this quantity.
null
public void setName(String name)
name
- public PossibleValues getPossibleValues()
From OWS Common 2.0: Specifies the possible values of this quantity.
null
public void setPossibleValues(PossibleValues possibleValues)
possibleValues
- public String getDefaultValue()
From OWS Common 2.0: The default value for a quantity for which multiple values are allowed.
null
public void setDefaultValue(String defaultValue)
defaultValue
- public StringOrRef getMeaning()
From OWS Common 2.0: Definition of the meaning or semantics of this set of values. This Meaning can provide more specific, complete, precise, machine accessible, and machine understandable semantics about this quantity, relative to other available semantic information. For example, other semantic information is often provided in "documentation" elements in XML Schemas or "description" elements in GML objects.
null
public void setMeaning(StringOrRef meaning)
meaning
- public StringOrRef getDataType()
From OWS Common 2.0: Definition of the data type of this set of values. In this case, the xlink:href attribute can reference a URN for a well-known data type. For example, such a URN could be a data type identification URN defined in the "ogc" URN namespace.
null
public void setDataTypeName(StringOrRef dataType)
dataTypeName
- public StringOrRef getValuesUnitUom()
From OWS Common 2.0: Identifier of unit of measure of this set of values. Should be included then this set of values has units (and not a more complete reference system).
null
public void setValuesUnitUom(StringOrRef valuesUnitUom)
valuesUnitUom
- public StringOrRef getValuesUnitRefSys()
From OWS Common 2.0: Identifier of reference system used by this set of values. Should be included then this set of values has a reference system (not just units).
null
public void setValuesUnitRefSys(StringOrRef valuesUnitRefSys)
valuesUnitRefSys
- public List<org.apache.axiom.om.OMElement> getMetadata()
From OWS Common 2.0: Optional unordered list of other metadata about this quantity. A list of required and optional other metadata elements for this quantity should be specified in the Implementation Specification for this service.
TODO does this need to be typed?
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |