Skip navigation links

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

E12907-01


oracle.irm.engine.types.rights.context
Class DomainAccount

java.lang.Object
  extended by oracle.irm.engine.types.rights.context.DomainAccount

All Implemented Interfaces:
Serializable

public class DomainAccount
extends Object
implements Serializable

Domain Account type. A domain account represents the role an account has within a domain.

XML Serialization

Domain Account instances can be serialized as an XML document. This XML document can also be used to recreate a Domain Account object. The following XML document shows an example Domain Account in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<rights:DomainAccount xmlns:rights="http://xmlns.oracle.com/irm/rights">
    <role>ADMINISTRATOR</role>
    <account>
        <uuid>021d94da-3b5b-41c3-afb0-55135a7e5321</uuid>
    </account>
</rights:DomainAccount>

See Also:
Serialized Form

Constructor Summary
DomainAccount()
          No argument constructor.
DomainAccount(Domain.Role role, AccountRef account)
          Constructor.

 

Method Summary
 AccountRef getAccount()
          The account.
 Domain.Role getRole()
          The domain role.
 void setAccount(AccountRef value)
          The account.
 void setRole(Domain.Role value)
          The domain role.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DomainAccount

public DomainAccount()
No argument constructor.

DomainAccount

public DomainAccount(Domain.Role role,
                     AccountRef account)
Constructor.

Method Detail

getRole

public Domain.Role getRole()
The domain role.
Returns:
the value of the property.

setRole

public void setRole(Domain.Role value)
The domain role.
Parameters:
value - the new value for the property.

getAccount

public AccountRef getAccount()
The account.
Returns:
the value of the property.

setAccount

public void setAccount(AccountRef value)
The account.
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-01


Copyright © 2010, Oracle. All rights reserved.