net.shibboleth.metadata
Class ItemTag

java.lang.Object
  extended by net.shibboleth.metadata.ItemTag
All Implemented Interfaces:
Serializable, ItemMetadata

@ThreadSafe
public class ItemTag
extends Object
implements ItemMetadata

A ItemMetadata that associates a tag with a given Item.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Serial version UID.
private  String tag
          Item tag.
 
Constructor Summary
ItemTag(String itemTag)
          Constructor.
 
Method Summary
 String getTag()
          Gets the tag for the metadata element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values

tag

private final String tag
Item tag.

Constructor Detail

ItemTag

public ItemTag(@Nonnull@NotEmpty
               String itemTag)
Constructor.

Parameters:
itemTag - a tag for a metadata element
Method Detail

getTag

@Nonnull
public String getTag()
Gets the tag for the metadata element.

Returns:
tag for the metadata element, never null


Copyright © 1999-2012. All Rights Reserved.