org.vfny.geoserver.global
Class AttributeTypeInfo

java.lang.Object
  extended byorg.vfny.geoserver.global.AttributeTypeInfo
All Implemented Interfaces:
org.geotools.data.AttributeTypeMetaData, org.geotools.data.MetaData

public class AttributeTypeInfo
extends java.lang.Object
implements org.geotools.data.AttributeTypeMetaData

AttributeTypeInfo represents AttributeTypeMetaData for GeoServer.

Holds information about AttributeType such as min/max occurs.


Constructor Summary
AttributeTypeInfo(org.geotools.feature.AttributeType type)
           
AttributeTypeInfo(AttributeTypeInfoDTO dto)
           
 
Method Summary
 boolean containsMetaData(java.lang.String key)
          Implement containsMetaData.
 java.lang.String getAttributeName()
          Access AttributeName
 org.geotools.feature.AttributeType getAttributeType()
          DOCUMENT ME!
 java.lang.Object getMetaData(java.lang.String key)
          Implement getMetaData.
 void putMetaData(java.lang.String key, java.lang.Object value)
          Implement putMetaData.
 void sync(org.geotools.feature.AttributeType type)
          Allows AttributeType to be lazy about syncing with Schema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeTypeInfo

public AttributeTypeInfo(AttributeTypeInfoDTO dto)

AttributeTypeInfo

public AttributeTypeInfo(org.geotools.feature.AttributeType type)
Method Detail

getAttributeType

public org.geotools.feature.AttributeType getAttributeType()
DOCUMENT ME!

Specified by:
getAttributeType in interface org.geotools.data.AttributeTypeMetaData
Returns:
See Also:
AttributeTypeMetaData.getAttributeType()

sync

public void sync(org.geotools.feature.AttributeType type)
Allows AttributeType to be lazy about syncing with Schema

Parameters:
type - DOCUMENT ME!

getAttributeName

public java.lang.String getAttributeName()
Access AttributeName

Specified by:
getAttributeName in interface org.geotools.data.AttributeTypeMetaData
Returns:
See Also:
AttributeTypeMetaData.getAttributeName()

containsMetaData

public boolean containsMetaData(java.lang.String key)
Implement containsMetaData.

Specified by:
containsMetaData in interface org.geotools.data.MetaData
Parameters:
key -
Returns:
See Also:
MetaData.containsMetaData(java.lang.String)

putMetaData

public void putMetaData(java.lang.String key,
                        java.lang.Object value)
Implement putMetaData.

Specified by:
putMetaData in interface org.geotools.data.MetaData
Parameters:
key -
value -
See Also:
MetaData.putMetaData(java.lang.String, java.lang.Object)

getMetaData

public java.lang.Object getMetaData(java.lang.String key)
Implement getMetaData.

Specified by:
getMetaData in interface org.geotools.data.MetaData
Parameters:
key -
Returns:
See Also:
MetaData.getMetaData(java.lang.String)