fr.tireme.schemadoc.SDSchema
Interface SDConstraint

All Known Subinterfaces:
SDAttribute, SDAttributeUse
All Known Implementing Classes:
XSDAttributeDeclarationWrapp, XSDAttributeUseWrapp

public interface SDConstraint

Author:
Mike Niemaz (niemaz@xrce.xerox.com)

Method Summary
 java.lang.String getDefaultValue()
          Gets the value of the default constraint, if any
 java.lang.String getFixedValue()
          Gets the value of the fixed constraint, if any
 boolean isDefaultConstraint()
          Returns true if a default constraint have been set to this attribute, false otherwise
 boolean isFixedConstraint()
          Returns true if a fixed constraint have been set to this attribute, false otherwise
 

Method Detail

isDefaultConstraint

boolean isDefaultConstraint()
Returns true if a default constraint have been set to this attribute, false otherwise

Returns:
boolean -

isFixedConstraint

boolean isFixedConstraint()
Returns true if a fixed constraint have been set to this attribute, false otherwise

Returns:
boolean -

getFixedValue

java.lang.String getFixedValue()
Gets the value of the fixed constraint, if any

Returns:
String - fixed value or null

getDefaultValue

java.lang.String getDefaultValue()
Gets the value of the default constraint, if any

Returns:
String - default value or null