|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.metadata.AbstractItem<String>
net.shibboleth.metadata.MockItem
public class MockItem
A mock implementation of Item.
| Field Summary | |
|---|---|
private static long |
serialVersionUID
Serial version UID. |
| Constructor Summary | |
|---|---|
MockItem(String str)
Constructor. |
|
| Method Summary | |
|---|---|
net.shibboleth.metadata.Item<String> |
copy()
|
boolean |
equals(Object obj)
|
int |
hashCode()
|
void |
setData(String data)
|
void |
setMetadataInfo(net.shibboleth.metadata.util.ClassToInstanceMultiMap<net.shibboleth.metadata.ItemMetadata> info)
Sets the metadata for this Item. |
| Methods inherited from class net.shibboleth.metadata.AbstractItem |
|---|
getItemMetadata, unwrap |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
| Constructor Detail |
|---|
public MockItem(String str)
str - data held by this item| Method Detail |
|---|
public void setData(String data)
setData in class net.shibboleth.metadata.AbstractItem<String>public void setMetadataInfo(net.shibboleth.metadata.util.ClassToInstanceMultiMap<net.shibboleth.metadata.ItemMetadata> info)
info - metadata for this Itempublic net.shibboleth.metadata.Item<String> copy()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||