org.geotools.feature.type
Class PropertyDescriptorImpl

java.lang.Object
  extended by org.geotools.feature.type.PropertyDescriptorImpl
All Implemented Interfaces:
org.opengis.feature.type.PropertyDescriptor
Direct Known Subclasses:
AssociationDescriptorImpl, AttributeDescriptorImpl

public class PropertyDescriptorImpl
extends java.lang.Object
implements org.opengis.feature.type.PropertyDescriptor


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

Field Detail

type

protected final org.opengis.feature.type.PropertyType type

name

protected final org.opengis.feature.type.Name name

minOccurs

protected final int minOccurs

maxOccurs

protected final int maxOccurs

isNillable

protected final boolean isNillable
Constructor Detail

PropertyDescriptorImpl

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

getType

public org.opengis.feature.type.PropertyType getType()
Specified by:
getType in interface org.opengis.feature.type.PropertyDescriptor

getName

public org.opengis.feature.type.Name getName()
Specified by:
getName in interface org.opengis.feature.type.PropertyDescriptor

getMinOccurs

public int getMinOccurs()
Specified by:
getMinOccurs in interface org.opengis.feature.type.PropertyDescriptor

getMaxOccurs

public int getMaxOccurs()
Specified by:
getMaxOccurs in interface org.opengis.feature.type.PropertyDescriptor

isNillable

public boolean isNillable()
Specified by:
isNillable in interface org.opengis.feature.type.PropertyDescriptor

getUserData

public java.util.Map<java.lang.Object,java.lang.Object> getUserData()
Specified by:
getUserData in interface org.opengis.feature.type.PropertyDescriptor

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1996-2010 Geotools. All Rights Reserved.