deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.feature.types.property
Class SimplePropertyType<T>

java.lang.Object
  extended by org.deegree.feature.types.property.AbstractPropertyType<T>
      extended by org.deegree.feature.types.property.SimplePropertyType<T>
Type Parameters:
T -
All Implemented Interfaces:
PropertyType<T>

public class SimplePropertyType<T>
extends AbstractPropertyType<T>

A PropertyType that defines a property with a primitive value, i.e. the value can be expressed as a single String.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $
See Also:
PrimitiveType

Field Summary
 
Fields inherited from class org.deegree.feature.types.property.AbstractPropertyType
maxOccurs, minOccurs, name, substitutions
 
Constructor Summary
SimplePropertyType(QName name, int minOccurs, int maxOccurs, PrimitiveType type, boolean isAbstract, List<PropertyType<?>> substitutions)
           
SimplePropertyType(QName name, int minOccurs, int maxOccurs, PrimitiveType type, boolean isAbstract, List<PropertyType<?>> substitutions, QName xsdTypeName)
           
 
Method Summary
 String getCodeList()
           
 PrimitiveType getPrimitiveType()
          Returns the primitive type.
 QName getXSDTypeName()
          Returns the type name of the XSD type (for custom simple types).
 void setCodeList(String codeList)
           
 String toString()
           
 
Methods inherited from class org.deegree.feature.types.property.AbstractPropertyType
getMaxOccurs, getMinOccurs, getName, getSubstitutions, isAbstract
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimplePropertyType

public SimplePropertyType(QName name,
                          int minOccurs,
                          int maxOccurs,
                          PrimitiveType type,
                          boolean isAbstract,
                          List<PropertyType<?>> substitutions)

SimplePropertyType

public SimplePropertyType(QName name,
                          int minOccurs,
                          int maxOccurs,
                          PrimitiveType type,
                          boolean isAbstract,
                          List<PropertyType<?>> substitutions,
                          QName xsdTypeName)
Method Detail

setCodeList

public void setCodeList(String codeList)

getCodeList

public String getCodeList()

getPrimitiveType

public PrimitiveType getPrimitiveType()
Returns the primitive type.

Returns:
the primitive type, never null

getXSDTypeName

public QName getXSDTypeName()
Returns the type name of the XSD type (for custom simple types).

Returns:
the type name, can be null

toString

public String toString()
Overrides:
toString in class Object

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>