org.objectweb.jonas.webapp.jonasadmin.xml.xs
Interface AttributeRestrictions

All Known Implementing Classes:
HCAttributeRestrictions

public interface AttributeRestrictions

Interface for attribute restrictions from schema files.

Author:
Gregory Lapouchnian, Patrick Smith

Method Summary
 java.lang.String getFixed()
          Get the fixed string for this attribute.
 java.lang.String getName()
          the name of this attribute.
 boolean isOptional()
          If this attribute is optional.
 void setFixed(java.lang.String fixed)
          Sets the fixed string for this attribute
 void setName(java.lang.String name)
          Sets the name of this attribute.
 void setOptional(boolean isOptional)
          Sets if this attribute is optional
 

Method Detail

getFixed

java.lang.String getFixed()
Get the fixed string for this attribute.

Returns:
the fixed string for this attribute.

setFixed

void setFixed(java.lang.String fixed)
Sets the fixed string for this attribute

Parameters:
fixed - the fixed string for this attribute.

isOptional

boolean isOptional()
If this attribute is optional.

Returns:
true if this element is optional, false otherwise.

setOptional

void setOptional(boolean isOptional)
Sets if this attribute is optional

Parameters:
isOptional - the value to set.

getName

java.lang.String getName()
the name of this attribute.

Returns:
the name of this attribute.

setName

void setName(java.lang.String name)
Sets the name of this attribute.

Parameters:
name - the name to set.