com.xensource.xenapi
Class Role.Record

java.lang.Object
  extended by com.xensource.xenapi.Role.Record
All Implemented Interfaces:
Types.Record
Enclosing class:
Role

public static class Role.Record
extends java.lang.Object
implements Types.Record

Represents all the fields in a Role


Field Summary
 java.lang.String nameDescription
          what this role is for
 java.lang.String nameLabel
          a short user-friendly name for the role
 java.util.Set<Role> subroles
          a list of pointers to other roles or permissions
 java.lang.String uuid
          Unique identifier/object reference
 
Constructor Summary
Role.Record()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> toMap()
          Convert a role.Record to a Map
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

public java.lang.String uuid
Unique identifier/object reference


nameLabel

public java.lang.String nameLabel
a short user-friendly name for the role


nameDescription

public java.lang.String nameDescription
what this role is for


subroles

public java.util.Set<Role> subroles
a list of pointers to other roles or permissions

Constructor Detail

Role.Record

public Role.Record()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toMap

public java.util.Map<java.lang.String,java.lang.Object> toMap()
Convert a role.Record to a Map

Specified by:
toMap in interface Types.Record