org.deegree.feature.types.property
Class SimplePropertyType

java.lang.Object
  extended by org.deegree.feature.types.property.AbstractPropertyType
      extended by org.deegree.feature.types.property.SimplePropertyType
All Implemented Interfaces:
PropertyType

public class SimplePropertyType
extends AbstractPropertyType

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

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

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, BaseType type, org.apache.xerces.xs.XSElementDeclaration elDecl, List<PropertyType> substitutions)
           
SimplePropertyType(QName name, int minOccurs, int maxOccurs, BaseType type, org.apache.xerces.xs.XSElementDeclaration elDecl, List<PropertyType> substitutions, org.apache.xerces.xs.XSSimpleTypeDefinition xsdType)
           
 
Method Summary
 String getCodeList()
           
 PrimitiveType getPrimitiveType()
          Returns the primitive type.
 void setCodeList(String codeList)
           
 String toString()
           
 
Methods inherited from class org.deegree.feature.types.property.AbstractPropertyType
getElementDecl, getMaxOccurs, getMinOccurs, getName, getSubstitutions, isAbstract, isNillable
 
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,
                          BaseType type,
                          org.apache.xerces.xs.XSElementDeclaration elDecl,
                          List<PropertyType> substitutions)

SimplePropertyType

public SimplePropertyType(QName name,
                          int minOccurs,
                          int maxOccurs,
                          BaseType type,
                          org.apache.xerces.xs.XSElementDeclaration elDecl,
                          List<PropertyType> substitutions,
                          org.apache.xerces.xs.XSSimpleTypeDefinition xsdType)
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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.