|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.types.core.general.Label
public class Label
Label type. A label comprises of a name and a description. The label also specifies a locale.
Label instances can be serialized as an XML document. This XML document can also be used to recreate a Label object. The following XML document shows an example Label in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:Label xmlns:core="http://xmlns.oracle.com/irm/core">
<locale>en</locale>
<name>label</name>
<description>a description</description>
</core:Label>
Constructor Summary | |
---|---|
Label() No argument constructor. |
|
Label(Locale locale, String name, String description) Constructor. |
Method Summary | |
---|---|
String |
getDescription() Description. |
Locale |
getLocale() Locale. |
String |
getName() Name. |
void |
setDescription(String value) Description. |
void |
setLocale(Locale value) Locale. |
void |
setName(String value) Name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Label()
public Label(Locale locale, String name, String description)
Method Detail |
---|
public Locale getLocale()
public void setLocale(Locale value)
value
- the new value for the property.public String getName()
public void setName(String value)
value
- the new value for the property.public String getDescription()
public void setDescription(String value)
value
- the new value for the property.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |