org.ow2.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
 String getFixed()
          Get the fixed string for this attribute.
 String getName()
          the name of this attribute.
 boolean isOptional()
          If this attribute is optional.
 void setFixed(String fixed)
          Sets the fixed string for this attribute
 void setName(String name)
          Sets the name of this attribute.
 void setOptional(boolean isOptional)
          Sets if this attribute is optional
 

Method Detail

getFixed

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

Returns:
the fixed string for this attribute.

setFixed

void setFixed(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

String getName()
the name of this attribute.

Returns:
the name of this attribute.

setName

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

Parameters:
name - the name to set.


Copyright © 2010 OW2 Consortium. All Rights Reserved.