org.glite.authz.common.model
Class Resource

java.lang.Object
  extended by org.glite.authz.common.model.Resource
All Implemented Interfaces:
java.io.Serializable

public final class Resource
extends java.lang.Object
implements java.io.Serializable

An attribute-based description of the resource within which an Action to be authorized is made.

See Also:
Serialized Form

Constructor Summary
Resource()
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 java.util.Set<Attribute> getAttributes()
          Gets the attributes that describe the resource.
 java.lang.String getResourceContent()
          Gets the resource content.
 int hashCode()
          
 void setResourceContent(java.lang.String content)
          Sets the resource content.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Resource

public Resource()
Constructor.

Method Detail

getResourceContent

public java.lang.String getResourceContent()
Gets the resource content.

Returns:
resource content

setResourceContent

public void setResourceContent(java.lang.String content)
Sets the resource content.

Parameters:
content - resource content

getAttributes

public java.util.Set<Attribute> getAttributes()
Gets the attributes that describe the resource.

Returns:
attributes that describe the resource

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object


Copyright © 2008-2012 EMI - European Middleware Initiative. All Rights Reserved.