|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ipdr.common.DescriptorElement
public class DescriptorElement
The Descriptor Element is a structure to hold the attributes of the Element parsed from the Schema. It provides setter and getter methods.
Field Summary | |
---|---|
protected java.lang.String |
attributeDerivedType_
This varable will store the derived typecode of attribute. |
protected java.lang.String |
attributeName_
This varable will store the name of attribute. |
protected char |
attributeType_
This varable will store the typecode of attribute. |
protected int |
maxOccurs_
This varable will store the maxOccurs of attribute. |
protected int |
minOccurs_
This varable will store the minOccurs of attribute. |
Constructor Summary | |
---|---|
DescriptorElement()
|
Method Summary | |
---|---|
java.lang.String |
getDerivedType()
Method to get the attribute's derived type. |
int |
getMaxOccurs()
Method to get the attribute's maxOccurs. |
int |
getMinOccurs()
Method to get the attribute's minOccurs. |
java.lang.String |
getName()
Method to get the attribute's name. |
char |
getType()
Method to get the attribute's type. |
void |
setDerivedType(java.lang.String dType)
Method to set the attribute's derived type. |
void |
setMaxOccurs(int max)
Method to set the attribute's maxOccurs. |
void |
setMinOccurs(int min)
Method to set the attribute's minOccurs. |
void |
setName(java.lang.String name)
Method to set the attribute's name. |
void |
setType(char type)
Method to set the attribute's type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String attributeName_
protected char attributeType_
protected java.lang.String attributeDerivedType_
protected int minOccurs_
protected int maxOccurs_
Constructor Detail |
---|
public DescriptorElement()
Method Detail |
---|
public void setName(java.lang.String name)
name
- attribute's namepublic void setType(char type)
type
- attribute's typepublic void setDerivedType(java.lang.String dType)
dType
- attribute's derived typepublic void setMinOccurs(int min)
min
- attribute's minOccurspublic void setMaxOccurs(int max)
max
- attribute's maxOccurspublic java.lang.String getName()
public char getType()
public java.lang.String getDerivedType()
public int getMinOccurs()
public int getMaxOccurs()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |