Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.types.core.general
Class Label

java.lang.Object
  extended by oracle.irm.engine.types.core.general.Label

All Implemented Interfaces:
Serializable

public class Label
extends Object
implements Serializable

Label type. A label comprises of a name and a description. The label also specifies a locale.

XML Serialization

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>

See Also:
Serialized Form

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

Label

public Label()
No argument constructor.

Label

public Label(Locale locale,
             String name,
             String description)
Constructor.

Method Detail

getLocale

public Locale getLocale()
Locale. The intended locale for this label.
Returns:
the value of the property.

setLocale

public void setLocale(Locale value)
Locale. The intended locale for this label.
Parameters:
value - the new value for the property.

getName

public String getName()
Name. A name for the label.
Returns:
the value of the property.

setName

public void setName(String value)
Name. A name for the label.
Parameters:
value - the new value for the property.

getDescription

public String getDescription()
Description. A fuller description of what the label represents.
Returns:
the value of the property.

setDescription

public void setDescription(String value)
Description. A fuller description of what the label represents.
Parameters:
value - the new value for the property.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.