org.geotools.feature.type
Class PropertyDescriptorImpl

Object
  extended by PropertyDescriptorImpl
All Implemented Interfaces:
PropertyDescriptor
Direct Known Subclasses:
AssociationDescriptorImpl, AttributeDescriptorImpl

public class PropertyDescriptorImpl
extends Object
implements PropertyDescriptor


Field Summary
protected  boolean isNillable
           
protected  int maxOccurs
           
protected  int minOccurs
           
protected  Name name
           
protected  PropertyType type
           
 
Constructor Summary
protected PropertyDescriptorImpl(PropertyType type, Name name, int min, int max, boolean isNillable)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getMaxOccurs()
           
 int getMinOccurs()
           
 Name getName()
           
 PropertyType getType()
           
 Map<Object,Object> getUserData()
           
 int hashCode()
           
 boolean isNillable()
           
 String toString()
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected final PropertyType type

name

protected final Name name

minOccurs

protected final int minOccurs

maxOccurs

protected final int maxOccurs

isNillable

protected final boolean isNillable
Constructor Detail

PropertyDescriptorImpl

protected PropertyDescriptorImpl(PropertyType type,
                                 Name name,
                                 int min,
                                 int max,
                                 boolean isNillable)
Method Detail

getType

public PropertyType getType()
Specified by:
getType in interface PropertyDescriptor

getName

public Name getName()
Specified by:
getName in interface PropertyDescriptor

getMinOccurs

public int getMinOccurs()
Specified by:
getMinOccurs in interface PropertyDescriptor

getMaxOccurs

public int getMaxOccurs()
Specified by:
getMaxOccurs in interface PropertyDescriptor

isNillable

public boolean isNillable()
Specified by:
isNillable in interface PropertyDescriptor

getUserData

public Map<Object,Object> getUserData()
Specified by:
getUserData in interface PropertyDescriptor

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1996-2009 Geotools. All Rights Reserved.