com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate
Class RepoProfileAttribute

java.lang.Object
  extended by com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoProfileAttribute
All Implemented Interfaces:
IdedObject, ProfileAttribute

public class RepoProfileAttribute
extends java.lang.Object
implements ProfileAttribute, IdedObject

Author:
sbirney

Constructor Summary
RepoProfileAttribute()
           
 
Method Summary
 void copyFromClient(java.lang.Object obj, PersistentObjectResolver resolver)
          Copy from a client object into this one
 boolean equals(java.lang.Object other)
           
 java.lang.String getAttrName()
           
 java.lang.String getAttrValue()
           
 long getId()
           
 java.lang.Object getPrincipal()
          This is a User or a Role
 int hashCode()
           
 void setAttrName(java.lang.String s)
           
 void setAttrValue(java.lang.String s)
           
 void setId(long id)
           
 void setPrincipal(java.lang.Object o)
           
 java.lang.Object toClient(ResourceFactory clientMappingFactory)
          Copy from this into a new client object
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepoProfileAttribute

public RepoProfileAttribute()
Method Detail

getId

public long getId()
Specified by:
getId in interface IdedObject
Returns:

setId

public void setId(long id)
Specified by:
setId in interface IdedObject

getAttrName

public java.lang.String getAttrName()
Specified by:
getAttrName in interface ProfileAttribute

setAttrName

public void setAttrName(java.lang.String s)
Specified by:
setAttrName in interface ProfileAttribute

getAttrValue

public java.lang.String getAttrValue()
Specified by:
getAttrValue in interface ProfileAttribute

setAttrValue

public void setAttrValue(java.lang.String s)
Specified by:
setAttrValue in interface ProfileAttribute

getPrincipal

public java.lang.Object getPrincipal()
This is a User or a Role

Specified by:
getPrincipal in interface ProfileAttribute

setPrincipal

public void setPrincipal(java.lang.Object o)
Specified by:
setPrincipal in interface ProfileAttribute

copyFromClient

public void copyFromClient(java.lang.Object obj,
                           PersistentObjectResolver resolver)
Copy from a client object into this one

Specified by:
copyFromClient in interface IdedObject
Parameters:
obj -
resolver -

toClient

public java.lang.Object toClient(ResourceFactory clientMappingFactory)
Copy from this into a new client object

Specified by:
toClient in interface IdedObject
Parameters:
clientMappingFactory -

toString

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

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2007. All Rights Reserved.