public interface Entry extends OsidObject
An Entry
contains a key and a value. The key and value
have a Type such that an entry is identified by the combination of the
key, key type, and value type. The Type may indicate the key and value are
simple strings or, more complex objects may be managed that allows for a
translation from one arbitrary object to another.
Modifier and Type | Method and Description |
---|---|
EntryRecord |
getEntryRecord(Type entryRecordType)
Gets the entry record corresponding to the given
Entry
record Type. |
java.lang.Object |
getKey()
Gets the key of this entry.
|
Type |
getKeyType()
Gets the
Type of this entry key. |
java.lang.Object |
getValue()
Gets the value in this entry.
|
Type |
getValueType()
Gets the
Type of this entry value. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
Type getKeyType()
Type
of this entry key. Type
mandatory
- This method must be implemented. java.lang.Object getKey()
mandatory
- This method must be implemented. Type getValueType()
Type
of this entry value. Type
mandatory
- This method must be implemented. java.lang.Object getValue()
mandatory
- This method must be implemented. EntryRecord getEntryRecord(Type entryRecordType) throws OperationFailedException
Entry
record Type.
This method is used to retrieve an object
implementing the requested record. The entryRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a Type
hierarchy where
hasRecordType(entryRecordType)
is true
.entryRecordType
- the type of the record to retrieveNullArgumentException
- entryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(entryRecordType)
is false
mandatory
- This method must be implemented.