|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.webapp.jonasadmin.xml.xs.hardcoded.HCAttributeRestrictions
public class HCAttributeRestrictions
An implementation of HCAttributeRestrictions where the restrictions are not retrieved from the schema but hard coded inside the class.
Constructor Summary | |
---|---|
HCAttributeRestrictions(java.lang.String name,
boolean optional,
java.lang.String fixed)
Create a new hardcoded attribute restriction |
Method Summary | |
---|---|
java.lang.String |
getFixed()
Get the fixed value for this attribute. |
java.lang.String |
getName()
Return the name of the attribute. |
boolean |
isOptional()
Returns if this attribute is optional. |
void |
setFixed(java.lang.String fixed)
Sets the fixed value for this attribute. |
void |
setName(java.lang.String name)
Sets the name of this element. |
void |
setOptional(boolean isOptional)
Sets if this attribute is optional. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HCAttributeRestrictions(java.lang.String name, boolean optional, java.lang.String fixed)
name
- the name of this attributeoptional
- is this attribute optionalfixed
- the fixed value for this attributeMethod Detail |
---|
public java.lang.String getFixed()
getFixed
in interface AttributeRestrictions
public void setFixed(java.lang.String fixed)
setFixed
in interface AttributeRestrictions
fixed
- the fixed value for this attribute.public boolean isOptional()
isOptional
in interface AttributeRestrictions
public void setOptional(boolean isOptional)
setOptional
in interface AttributeRestrictions
isOptional
- if this attribute is optional.public java.lang.String getName()
getName
in interface AttributeRestrictions
public void setName(java.lang.String name)
setName
in interface AttributeRestrictions
name
- the name of this element.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |