|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.metadata.AbstractItem<T>
T - type of data contained in the item@ThreadSafe public abstract class AbstractItem<T>
Base implementation of an Item.
| Field Summary | |
|---|---|
private T |
data
The actual data held by the item. |
private ClassToInstanceMultiMap<ItemMetadata> |
metadata
Additional processing information associated with this Item. |
private static long |
serialVersionUID
Serial version UID. |
| Constructor Summary | |
|---|---|
protected |
AbstractItem()
Constructor. |
| Method Summary | |
|---|---|
ClassToInstanceMultiMap<ItemMetadata> |
getItemMetadata()
Gets all of the metadata attached to this Item. |
protected void |
setData(T newData)
Sets the data wrapped by this Item. |
T |
unwrap()
Gets the wrapped item data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.shibboleth.metadata.Item |
|---|
copy |
| Field Detail |
|---|
private static final long serialVersionUID
private T data
private final ClassToInstanceMultiMap<ItemMetadata> metadata
| Constructor Detail |
|---|
protected AbstractItem()
| Method Detail |
|---|
@Nullable public T unwrap()
unwrap in interface Item<T>
protected void setData(@Nullable
T newData)
newData - the data@Nonnull public ClassToInstanceMultiMap<ItemMetadata> getItemMetadata()
getItemMetadata in interface Item<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||