|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.higgins.idas.impl.BasicProperty
public class BasicProperty
Basic implementation of IProperty
.
TODO: Add comments. Specifically regarding the mutability of _value
Constructor Summary | |
---|---|
BasicProperty(URI type)
|
|
BasicProperty(URI type,
IPropertyValue value)
|
|
BasicProperty(URI type,
Iterable<IPropertyValue> values)
|
|
BasicProperty(URI type,
Vector<IPropertyValue> values)
|
Method Summary | |
---|---|
URI |
getType()
Returns the type of this property as a URI . |
IPropertyValue |
getValue()
Returns a single value for this iProperty. |
Iterable<IPropertyValue> |
getValues()
Returns all values for this iProperty. |
void |
setValue(IPropertyValue value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicProperty(URI type)
public BasicProperty(URI type, IPropertyValue value)
public BasicProperty(URI type, Vector<IPropertyValue> values)
public BasicProperty(URI type, Iterable<IPropertyValue> values)
Method Detail |
---|
public URI getType() throws IdASException
IProperty
URI
.From this URI, a consumer should be able to derive some kind of human-readable name (such as "age", "title", "employeeNumber", etc.).
A consumer may also be able to determine from this URI, the type or range of types of object(s) returned from IProperty.getValue()
and IProperty.getValues()
.
These determinations may be made either by examining parts of the URI itself, or dereferencing it (or parts) to other sources of information.
getType
in interface IProperty
IdASException
public IPropertyValue getValue() throws IdASException
IProperty
getValue
in interface IProperty
IdASException
public void setValue(IPropertyValue value) throws IdASException
setValue
in interface IProperty
IdASException
public Iterable<IPropertyValue> getValues() throws IdASException
IProperty
getValues
in interface IProperty
IdASException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |