org.eclipse.higgins.idas.schema
Interface IAttributeSchema

All Superinterfaces:
ISchema

public interface IAttributeSchema
extends ISchema

Represents a schema of the managed type of the attributes.

The type returned by IAttributeSchema.getType() could be used in IHasAttributes.createAttribute(URI, IPropertyValue) or IHasAttributes.createAttribute(URI, Iterable) to create an IAttribute of the managed type.

See Also:
IAttribute

Method Summary
 java.util.List<IPropertyValue> getAllValuesFrom()
          Returns the list of predefined attribute's values which are defined (allowed) in this type of attributes or null if any values with correct data type are alloved.
 java.net.URI getDataType()
          Returns the type of the values of the attribute as an URI.
 int getMaxCardinality()
          Returns non negative integer value which represents maximum cardinality of the attribute.
 int getMinCardinality()
          Returns non negative integer value which represents minimum cardinality of the attribute.
 
Methods inherited from interface org.eclipse.higgins.idas.schema.ISchema
getDisplayData, getType
 

Method Detail

getDataType

java.net.URI getDataType()
Returns the type of the values of the attribute as an URI.


getMaxCardinality

int getMaxCardinality()
Returns non negative integer value which represents maximum cardinality of the attribute.


getMinCardinality

int getMinCardinality()
Returns non negative integer value which represents minimum cardinality of the attribute.


getAllValuesFrom

java.util.List<IPropertyValue> getAllValuesFrom()
Returns the list of predefined attribute's values which are defined (allowed) in this type of attributes or null if any values with correct data type are alloved.