org.gxml.xs
Interface SmAttributeUse<A,S>

All Superinterfaces:
SmHasValueConstraint<A>

public interface SmAttributeUse<A,S>
extends SmHasValueConstraint<A>


Method Summary
 SmAttribute<A,S> getAttribute()
          Returns the {attribute declaration} property.
 SmValueConstraint<A> getEffectiveValueConstraint()
          Returns the effective value constraint, may be null.
 boolean isRequired()
          Returns the {required} property.
 
Methods inherited from interface org.gxml.xs.SmHasValueConstraint
getValueConstraint
 

Method Detail

isRequired

boolean isRequired()
Returns the {required} property.
In the XML representation, this is true if the use [attribute] is present with actual value required, otherwise false.


getAttribute

SmAttribute<A,S> getAttribute()
Returns the {attribute declaration} property.
In the XML representation, this is the (top-level) attribute declaration resolved by the actual value of the ref [attribute].


getEffectiveValueConstraint

SmValueConstraint<A> getEffectiveValueConstraint()
Returns the effective value constraint, may be null. [Definition:] Let the effective value constraint of an attribute use be its {value constraint}, if present, otherwise its {attribute declaration}'s {value constraint}.



Copyright © 2009 TIBCO Software Inc. All Rights Reserved.