|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.infoengine.schema.DisplayContainer
com.infoengine.schema.Attribute
public class Attribute
Represents attribute schema
| Constructor Summary | |
|---|---|
Attribute()
|
|
| Method Summary | |
|---|---|
boolean |
getIsEditable()
Get the isEditable property value |
boolean |
getIsUnbounded()
Get the isUnbounded property value |
int |
getMaxOccurs()
Get the maximum number of times this attribute may occur. |
int |
getMinOccurs()
Get the minimum number of times this attribute must occur. |
java.lang.String |
getName()
Get this attribute's name. |
SchemaObject |
getSchema()
Get the schema object associated with this attribute. |
Type |
getType()
Get the underlying type definition contained within the schema object |
boolean |
isEditable()
Get the isEditable property value |
boolean |
isMultivalued()
maxOccurs > 1 |
boolean |
isRequired()
minOccurs > 0 |
boolean |
isUnbounded()
Get the isUnbounded property value |
void |
setIsEditable(boolean b)
Set the property value determining if this attribute should be allowed to be edited or not. |
void |
setIsUnbounded(boolean b)
Set the boolean property determining if the maximum number of times this attribute may occur is infinite. |
void |
setMaxOccurs(int max)
Set the maximum number of times this attribute may occur. |
void |
setMinOccurs(int min)
Set the minimum number of times this attribute must occur. |
void |
setName(java.lang.String name)
Set this attribute's name. |
void |
setSchema(SchemaObject so)
Set the schema object associated with this attribute. |
| Methods inherited from class com.infoengine.schema.DisplayContainer |
|---|
addDisplayValue, getDisplays, getDisplays, getDisplayString, getDisplayValue, getIds, removeDisplayValue, setDisplays, setDisplays, setDisplayString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Attribute()
| Method Detail |
|---|
public void setName(java.lang.String name)
name - new attribute namepublic java.lang.String getName()
public void setMinOccurs(int min)
min - minimum occurance valueisRequired()public int getMinOccurs()
isRequired()public void setMaxOccurs(int max)
max - maximum occurance valuesetIsUnbounded(boolean),
getIsUnbounded(),
isUnbounded(),
isMultivalued()public int getMaxOccurs()
setIsUnbounded(boolean),
getIsUnbounded(),
isUnbounded(),
isMultivalued()public void setIsUnbounded(boolean b)
b - new isUnbounded property valuepublic boolean getIsUnbounded()
public boolean isUnbounded()
public void setIsEditable(boolean b)
b - new isEditable property valuepublic boolean getIsEditable()
public boolean isEditable()
public boolean isRequired()
setMinOccurs(int),
getMinOccurs()public boolean isMultivalued()
setMaxOccurs(int),
getMaxOccurs()public void setSchema(SchemaObject so)
so - the schema objectSchemaObjectpublic SchemaObject getSchema()
SchemaObjectpublic Type getType()
getSchema(),
Type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||