org.fao.geonet.kernel.schema
Class MetadataType

java.lang.Object
  extended by org.fao.geonet.kernel.schema.MetadataType

public class MetadataType
extends java.lang.Object


Field Summary
 boolean hasContainers
           
 
Method Summary
 java.lang.Boolean examineSubs(int pos)
          Return true if subs for element in given position need to be examined, false otherwise
 MetadataAttribute getAttributeAt(int i)
           
 int getAttributeCount()
           
 java.lang.String getElementAt(int pos)
          Return the component in a given position
 int getElementCount()
           
 java.util.ArrayList getElementList()
           
 java.lang.String getElementTypeAt(int pos)
          Return the type of element in a given position
 int getMaxCardinAt(int pos)
          Returns the max cardinality of element in a given pos
 int getMinCardinAt(int pos)
          Returns the min cardinality of element in a given pos
 java.lang.String getName()
           
 boolean isOrType()
          Returns true is this type has children in or mode
 void resetElementAt(int pos, java.lang.String name, java.lang.String type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

hasContainers

public boolean hasContainers
Method Detail

getElementCount

public int getElementCount()

resetElementAt

public void resetElementAt(int pos,
                           java.lang.String name,
                           java.lang.String type)

getElementList

public java.util.ArrayList getElementList()

getElementAt

public java.lang.String getElementAt(int pos)
Return the component in a given position


getElementTypeAt

public java.lang.String getElementTypeAt(int pos)
Return the type of element in a given position


examineSubs

public java.lang.Boolean examineSubs(int pos)
Return true if subs for element in given position need to be examined, false otherwise


getMinCardinAt

public int getMinCardinAt(int pos)
Returns the min cardinality of element in a given pos


getMaxCardinAt

public int getMaxCardinAt(int pos)
Returns the max cardinality of element in a given pos


isOrType

public boolean isOrType()
Returns true is this type has children in or mode


getAttributeCount

public int getAttributeCount()

getAttributeAt

public MetadataAttribute getAttributeAt(int i)

getName

public java.lang.String getName()

toString

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