net.sf.csutils.core.model
Interface ROAttribute

All Known Subinterfaces:
ROClassification, ROFile, RORelation, ROSlot
All Known Implementing Classes:
StaticROAttribute, StaticROClassification, StaticROFile, StaticRORelation, StaticROSlot

public interface ROAttribute

Interface of a registry objects attribute.


Nested Class Summary
static class ROAttribute.Type
           
 
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.
 ROAttribute.Type getType()
          Returns the attribute type.
 

Method Detail

getName

java.lang.String getName()
Returns the attribute name.

Returns:
The attribute name (unqualified)

getMinOccurs

int getMinOccurs()
Returns the attributes minimum number of occurrencies.

Returns:
Minimum number of occurrencies; 0 for an optional attribute.

getMaxOccurs

int getMaxOccurs()
Returns the attributes maximum number of occurrencies.

Returns:
Maximum number or -1 (unbounded)

getType

ROAttribute.Type getType()
Returns the attribute type.

Returns:
The attributes type.


Copyright © 2009-2010. All Rights Reserved.