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 Object
implements Types.Record

Represents all the fields in a Role


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

Field Detail

uuid

public String uuid
Unique identifier/object reference


nameLabel

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


nameDescription

public String nameDescription
what this role is for


subroles

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

Constructor Detail

Role.Record

public Role.Record()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toMap

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

Specified by:
toMap in interface Types.Record