org.eclipse.higgins.idas
Class BasicProperty
java.lang.Object
org.eclipse.higgins.idas.BasicProperty
- All Implemented Interfaces:
- IProperty
- Direct Known Subclasses:
- BasicMetadata
public class BasicProperty
- extends Object
- implements IProperty
TODO: Add comments. Specifically regarding the mutability of _value
BasicProperty
public BasicProperty(URI type)
BasicProperty
public BasicProperty(URI type,
IPropertyValue value)
BasicProperty
public BasicProperty(URI type,
Vector<IPropertyValue> values)
getType
public URI getType()
throws IdASException
- Specified by:
getType
in interface IProperty
- Throws:
IdASException
getValue
public IPropertyValue getValue()
throws IdASException
- Description copied from interface:
IProperty
- Returns a single value for this iProperty. In the case where this property has multiple values, the particular value returned is indeterminate.
- Specified by:
getValue
in interface IProperty
- Throws:
IdASException
setValue
public void setValue(IPropertyValue value)
throws IdASException
- Specified by:
setValue
in interface IProperty
- Throws:
IdASException
getValues
public Iterable<IPropertyValue> getValues()
throws IdASException
- Description copied from interface:
IProperty
- Returns all values for this iProperty.
- Specified by:
getValues
in interface IProperty
- Throws:
IdASException