com.atlassian.gadgets.dashboard.internal.rest.representations
Class UserPrefRepresentation

java.lang.Object
  extended by com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation

public final class UserPrefRepresentation
extends Object

Provides a JAXB view of a UserPref, so that we can build new gadgets on the fly in Javascript.


Nested Class Summary
static class UserPrefRepresentation.EnumValueRepresentation
           
 
Constructor Summary
UserPrefRepresentation(UserPref userPref)
           
 
Method Summary
 String getDisplayName()
           
 String getName()
           
 List<UserPrefRepresentation.EnumValueRepresentation> getOptions()
           
 String getType()
           
 String getValue()
           
 boolean isRequired()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserPrefRepresentation

public UserPrefRepresentation(UserPref userPref)
Method Detail

getName

public String getName()

getValue

public String getValue()

getType

public String getType()

getDisplayName

public String getDisplayName()

isRequired

public boolean isRequired()

getOptions

public List<UserPrefRepresentation.EnumValueRepresentation> getOptions()


Copyright © 2010 Atlassian. All Rights Reserved.