|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.admin.Tag
public final class Tag
An interface for querying the properties of a tag.
Tags are used to group related managed objects together into categories.
Method Summary | |
---|---|
int |
compareTo(Tag o)
|
static void |
define(java.lang.String name)
Defines a new tag with the specified name. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Gets the name of this tag. |
Message |
getSynopsis()
Gets the synopsis of this tag in the default locale. |
Message |
getSynopsis(java.util.Locale locale)
Gets the synopsis of this tag in the specified locale. |
int |
hashCode()
|
java.lang.String |
toString()
|
static Tag |
valueOf(java.lang.String name)
Returns the tag associated with the specified name. |
static java.util.Collection<Tag> |
values()
Returns an unmodifiable collection view of the set of registered tags. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static void define(java.lang.String name)
name
- The name of the new tag.public static Tag valueOf(java.lang.String name) throws java.lang.IllegalArgumentException
name
- The name of the tag.
java.lang.IllegalArgumentException
- If the tag name was not recognized.public static java.util.Collection<Tag> values()
public final int compareTo(Tag o)
compareTo
in interface java.lang.Comparable<Tag>
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public final java.lang.String getName()
public final Message getSynopsis()
public final Message getSynopsis(java.util.Locale locale)
locale
- The locale.
public final int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |