org.ipdr.common
Class SchemaElement

java.lang.Object
  extended by org.ipdr.common.SchemaElement
Direct Known Subclasses:
CompositeSchemaElement

public class SchemaElement
extends java.lang.Object

This class is added for schema processing, creating schema object.


Field Summary
protected  java.lang.String attribDerivedType_
          String containing the Derived Type of attribute.
protected  java.lang.String attribDocumentation_
          String containing the Documentation of attribute.
protected  java.util.ArrayList attribEnumValues_
          ArrayList containing the Enum values of attribute.
protected  java.lang.String attribName_
          String containing the name of attribute.
protected  java.lang.String attribReference_
          String containing the Reference of attribute.
protected  java.lang.String attribStatus_
          String containing the Status of attribute.
protected  char attribTypeCode_
          Char containing the typecode of attribute.
protected  java.lang.String attribUnit_
          String containing the Unit of attribute.
protected  int maxOccurs_
          Int containing the maxOccurs of the attribute.
protected  int minOccurs_
          Int containing the minOccurs of the attribute.
 
Constructor Summary
SchemaElement()
           
 
Method Summary
 java.lang.String getAttribDerivedType()
          Method to get the attribute's derived type.
 java.lang.String getAttribDocumentation()
          Method to get the attribute's Documentation.
 java.util.ArrayList getAttribEnumValues()
          Method to get the attribute's Enum values.
 java.lang.String getAttribName()
          Method to get the attribute's name.
 java.lang.String getAttribReference()
          Method to get the attribute's Reference.
 java.lang.String getAttribStatus()
          Method to get the attribute's Status.
 char getAttribTypeCode()
          Method to get the attribute's typecode.
 java.lang.String getAttribUnit()
          Method to get the attribute's Unit.
 int getMaxOccurs()
          Method to get the maxOccurs value.
 int getMinOccurs()
          Method to get the minOccurs value.
 void setAttribDerivedType(java.lang.String attribDerivedType)
          Method to set the attribute's derived type.
 void setAttribDocumentation(java.lang.String attribDocumentation)
          Method to set the attribute's Documentation.
 void setAttribEnumValues(java.util.ArrayList attribEnumValues)
          Method to set the attribute's Enum values.
 void setAttribName(java.lang.String attribName)
          Method to set the attribute's name.
 void setAttribReference(java.lang.String attribReference)
          Method to set the attribute's Reference.
 void setAttribStatus(java.lang.String attribStatus)
          Method to set the attribute's Status.
 void setAttribTypeCode(char attribTypeCode)
          Method to set the attribute's typecode.
 void setAttribUnit(java.lang.String attribUnit)
          Method to set the attribute's Unit.
 void setMaxOccurs(int max)
          Method to set the maxOccurs value.
 void setMinOccurs(int min)
          Method to set the minOccurs value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attribName_

protected java.lang.String attribName_
String containing the name of attribute.


attribTypeCode_

protected char attribTypeCode_
Char containing the typecode of attribute.


attribDerivedType_

protected java.lang.String attribDerivedType_
String containing the Derived Type of attribute.


minOccurs_

protected int minOccurs_
Int containing the minOccurs of the attribute.


maxOccurs_

protected int maxOccurs_
Int containing the maxOccurs of the attribute.


attribUnit_

protected java.lang.String attribUnit_
String containing the Unit of attribute.


attribReference_

protected java.lang.String attribReference_
String containing the Reference of attribute.


attribStatus_

protected java.lang.String attribStatus_
String containing the Status of attribute.


attribEnumValues_

protected java.util.ArrayList attribEnumValues_
ArrayList containing the Enum values of attribute.


attribDocumentation_

protected java.lang.String attribDocumentation_
String containing the Documentation of attribute.

Constructor Detail

SchemaElement

public SchemaElement()
Method Detail

setAttribName

public void setAttribName(java.lang.String attribName)
Method to set the attribute's name.

Parameters:
attribName - the attribute's name

getAttribName

public java.lang.String getAttribName()
Method to get the attribute's name.

Returns:
the attribute's name

setAttribTypeCode

public void setAttribTypeCode(char attribTypeCode)
Method to set the attribute's typecode.

Parameters:
attribTypeCode - the attribute's typecode

getAttribTypeCode

public char getAttribTypeCode()
Method to get the attribute's typecode.

Returns:
the attribute's typecode

setAttribDerivedType

public void setAttribDerivedType(java.lang.String attribDerivedType)
Method to set the attribute's derived type.

Parameters:
attribDerivedType - the attribute's derived type

getAttribDerivedType

public java.lang.String getAttribDerivedType()
Method to get the attribute's derived type.

Returns:
the attribute's derived type

setAttribDocumentation

public void setAttribDocumentation(java.lang.String attribDocumentation)
Method to set the attribute's Documentation.

Parameters:
attribDocumentation - the attribute's Documentation

getAttribDocumentation

public java.lang.String getAttribDocumentation()
Method to get the attribute's Documentation.

Returns:
the attribute's Documentation

setMinOccurs

public void setMinOccurs(int min)
Method to set the minOccurs value.

Parameters:
min - the min occurs value

getMinOccurs

public int getMinOccurs()
Method to get the minOccurs value.

Returns:
the min occurs value

setMaxOccurs

public void setMaxOccurs(int max)
Method to set the maxOccurs value.

Parameters:
max - the max occurs value

getMaxOccurs

public int getMaxOccurs()
Method to get the maxOccurs value.

Returns:
the max occurs value

setAttribUnit

public void setAttribUnit(java.lang.String attribUnit)
Method to set the attribute's Unit.

Parameters:
attribUnit - the attribute's Unit

getAttribUnit

public java.lang.String getAttribUnit()
Method to get the attribute's Unit.

Returns:
the attribute's Unit

setAttribReference

public void setAttribReference(java.lang.String attribReference)
Method to set the attribute's Reference.

Parameters:
attribReference - the attribute's Reference

getAttribReference

public java.lang.String getAttribReference()
Method to get the attribute's Reference.

Returns:
the attribute's Reference

setAttribStatus

public void setAttribStatus(java.lang.String attribStatus)
Method to set the attribute's Status.

Parameters:
attribStatus - the attribute's Status

getAttribStatus

public java.lang.String getAttribStatus()
Method to get the attribute's Status.

Returns:
the attribute's Status

setAttribEnumValues

public void setAttribEnumValues(java.util.ArrayList attribEnumValues)
Method to set the attribute's Enum values.

Parameters:
attribEnumValues - the attribute's Enum values

getAttribEnumValues

public java.util.ArrayList getAttribEnumValues()
Method to get the attribute's Enum values.

Returns:
the attribute's Enum values