|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.metadata.FirstItemIdItemIdentificationStrategy
public class FirstItemIdItemIdentificationStrategy
Strategy that returns the first ItemId associated with an Item or, if not ItemId is
associated with the item, a generic identifier is returned.
| Field Summary | |
|---|---|
private String |
noItemIdIdentifier
Identifier to use if an Item does have an ItemId. |
| Constructor Summary | |
|---|---|
FirstItemIdItemIdentificationStrategy()
|
|
| Method Summary | |
|---|---|
String |
getItemIdentifier(Item<?> item)
Gets an identifier for the item. |
String |
getNoItemIdIdentifier()
Gets the identifier to use if an Item does have an ItemId. |
void |
setNoItemIdIdentifier(String identifier)
Sets the identifier to use if an Item does have an ItemId. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private String noItemIdIdentifier
Item does have an ItemId. Default value: unidentified
| Constructor Detail |
|---|
public FirstItemIdItemIdentificationStrategy()
| Method Detail |
|---|
public String getNoItemIdIdentifier()
Item does have an ItemId.
Item does have an ItemId
public void setNoItemIdIdentifier(@Nonnull@NotEmpty
String identifier)
Item does have an ItemId.
identifier - identifier to use if an Item does have an ItemId
@Nonnull
public String getItemIdentifier(@Nonnull
Item<?> item)
getItemIdentifier in interface ItemIdentificationStrategyitem - the item
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||