org.openregistry.core.web.resources.representations
Class RoleRepresentation

java.lang.Object
  extended by org.openregistry.core.web.resources.representations.RoleRepresentation

public final class RoleRepresentation
extends java.lang.Object

Simple struct-like class encapsulating the representation of a Role in the registry for the purpose of exposing it via RESTful resources. It should not be used for any other purposes. This class is marshaled into an XML representation using JAXB.

Since:
1.0
Author:
Dmitriy Kopylenko

Nested Class Summary
static class RoleRepresentation.Address
           
static class RoleRepresentation.Email
           
static class RoleRepresentation.Phone
           
static class RoleRepresentation.Url
           
 
Field Summary
 java.util.List<RoleRepresentation.Address> addresses
           
 java.lang.String affiliation
           
 java.util.List<RoleRepresentation.Email> emails
           
 java.util.Date endDate
           
 java.lang.String organizationalUnit
           
 java.lang.String percentage
           
 java.util.List<RoleRepresentation.Phone> phones
           
 java.lang.String roleId
           
 java.lang.String sponsorId
           
 java.lang.String sponsorIdType
           
 java.lang.String sponsorType
           
 java.util.Date startDate
           
 java.lang.String systemOfRecord
           
 java.lang.String title
           
 java.util.List<RoleRepresentation.Url> urls
           
 
Constructor Summary
RoleRepresentation()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

roleId

public java.lang.String roleId

title

public java.lang.String title

organizationalUnit

public java.lang.String organizationalUnit

affiliation

public java.lang.String affiliation

systemOfRecord

public java.lang.String systemOfRecord

startDate

public java.util.Date startDate

endDate

public java.util.Date endDate

percentage

public java.lang.String percentage

sponsorType

public java.lang.String sponsorType

sponsorId

public java.lang.String sponsorId

sponsorIdType

public java.lang.String sponsorIdType

addresses

public java.util.List<RoleRepresentation.Address> addresses

emails

public java.util.List<RoleRepresentation.Email> emails

urls

public java.util.List<RoleRepresentation.Url> urls

phones

public java.util.List<RoleRepresentation.Phone> phones
Constructor Detail

RoleRepresentation

public RoleRepresentation()


Copyright © 2009-2012 JA-SIG, Inc.. All Rights Reserved.