gov.nih.nci.cagrid.gts.bean
Class Permission

java.lang.Object
  extended by gov.nih.nci.cagrid.gts.bean.Permission
All Implemented Interfaces:
java.io.Serializable

public class Permission
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Permission()
           
Permission(java.lang.String gridIdentity, Role role, java.lang.String trustedAuthorityName)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getGridIdentity()
          Gets the gridIdentity value for this Permission.
 Role getRole()
          Gets the role value for this Permission.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.lang.String getTrustedAuthorityName()
          Gets the trustedAuthorityName value for this Permission.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setGridIdentity(java.lang.String gridIdentity)
          Sets the gridIdentity value for this Permission.
 void setRole(Role role)
          Sets the role value for this Permission.
 void setTrustedAuthorityName(java.lang.String trustedAuthorityName)
          Sets the trustedAuthorityName value for this Permission.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Permission

public Permission()

Permission

public Permission(java.lang.String gridIdentity,
                  Role role,
                  java.lang.String trustedAuthorityName)
Method Detail

getGridIdentity

public java.lang.String getGridIdentity()
Gets the gridIdentity value for this Permission.

Returns:
gridIdentity

setGridIdentity

public void setGridIdentity(java.lang.String gridIdentity)
Sets the gridIdentity value for this Permission.

Parameters:
gridIdentity -

getRole

public Role getRole()
Gets the role value for this Permission.

Returns:
role

setRole

public void setRole(Role role)
Sets the role value for this Permission.

Parameters:
role -

getTrustedAuthorityName

public java.lang.String getTrustedAuthorityName()
Gets the trustedAuthorityName value for this Permission.

Returns:
trustedAuthorityName

setTrustedAuthorityName

public void setTrustedAuthorityName(java.lang.String trustedAuthorityName)
Sets the trustedAuthorityName value for this Permission.

Parameters:
trustedAuthorityName -

equals

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

hashCode

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

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer