| java.lang.Object org.objectweb.jonas.webapp.jonasadmin.xml.xs.hardcoded.HCAttributeRestrictions
HCAttributeRestrictions | public class HCAttributeRestrictions implements AttributeRestrictions(Code) | | An implementation of HCAttributeRestrictions where the restrictions are not
retrieved from the schema but hard coded inside the class.
author: Gregory Lapouchnian author: Patrick Smith |
Method Summary | |
public String | getFixed() Get the fixed value for this attribute. | public String | getName() Return the name of the attribute. | public boolean | isOptional() Returns if this attribute is optional. | public void | setFixed(String fixed) Sets the fixed value for this attribute. | public void | setName(String name) Sets the name of this element. | public void | setOptional(boolean isOptional) Sets if this attribute is optional. |
HCAttributeRestrictions | public HCAttributeRestrictions(String name, boolean optional, String fixed)(Code) | | Create a new hardcoded attribute restriction
Parameters: name - the name of this attribute Parameters: optional - is this attribute optional Parameters: fixed - the fixed value for this attribute |
getFixed | public String getFixed()(Code) | | Get the fixed value for this attribute.
the fixed value for this attribute. |
getName | public String getName()(Code) | | Return the name of the attribute.
the element of this attribute. |
isOptional | public boolean isOptional()(Code) | | Returns if this attribute is optional.
if this attribute is optional or not. |
setFixed | public void setFixed(String fixed)(Code) | | Sets the fixed value for this attribute.
Parameters: fixed - the fixed value for this attribute. |
setName | public void setName(String name)(Code) | | Sets the name of this element.
Parameters: name - the name of this element. |
setOptional | public void setOptional(boolean isOptional)(Code) | | Sets if this attribute is optional.
Parameters: isOptional - if this attribute is optional. |
|
|