net.sf.csutils.core.model.impl
Class StaticROAttribute

java.lang.Object
  extended by net.sf.csutils.core.model.impl.StaticROAttribute
All Implemented Interfaces:
ROAttribute
Direct Known Subclasses:
StaticROClassification, StaticROFile, StaticRORelation, StaticROSlot

public abstract class StaticROAttribute
extends java.lang.Object
implements ROAttribute


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.sf.csutils.core.model.ROAttribute
ROAttribute.Type
 
Constructor Summary
StaticROAttribute()
           
 
Method Summary
 int getMaxOccurs()
          Returns the attributes maximum number of occurrencies.
 int getMinOccurs()
          Returns the attributes minimum number of occurrencies.
 java.lang.String getName()
          Returns the attribute name.
 void setMaxOccurs(int maxOccurs)
           
 void setMinOccurs(int minOccurs)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.csutils.core.model.ROAttribute
getType
 

Constructor Detail

StaticROAttribute

public StaticROAttribute()
Method Detail

getMinOccurs

public int getMinOccurs()
Description copied from interface: ROAttribute
Returns the attributes minimum number of occurrencies.

Specified by:
getMinOccurs in interface ROAttribute
Returns:
Minimum number of occurrencies; 0 for an optional attribute.

setMinOccurs

public void setMinOccurs(int minOccurs)

getMaxOccurs

public int getMaxOccurs()
Description copied from interface: ROAttribute
Returns the attributes maximum number of occurrencies.

Specified by:
getMaxOccurs in interface ROAttribute
Returns:
Maximum number or -1 (unbounded)

setMaxOccurs

public void setMaxOccurs(int maxOccurs)

getName

public java.lang.String getName()
Description copied from interface: ROAttribute
Returns the attribute name.

Specified by:
getName in interface ROAttribute
Returns:
The attribute name (unqualified)

setName

public void setName(java.lang.String name)


Copyright © 2009-2010. All Rights Reserved.