org.oslc.asset.internal
Class ResourceRef

java.lang.Object
  extended by org.oslc.asset.internal.ResourceRef
Direct Known Subclasses:
Preview

public class ResourceRef
extends java.lang.Object

Since:
7.2.0.2

Field Summary
protected  java.lang.String resource
           
protected  java.lang.String value
           
 
Constructor Summary
ResourceRef()
           
ResourceRef(java.lang.String href)
           
 
Method Summary
 java.lang.String getResource()
          Gets the value of the resource property.
 java.lang.String getValue()
          Gets the resource URL.
 void setResource(java.lang.String value)
          Sets the value of the resource property.
 void setValue(java.lang.String value)
          Sets the resource URL
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

resource

protected java.lang.String resource

value

protected java.lang.String value
Constructor Detail

ResourceRef

public ResourceRef()
Since:
7.2.0.2

ResourceRef

public ResourceRef(java.lang.String href)
Since:
7.2.0.2
Method Detail

getResource

public java.lang.String getResource()
Gets the value of the resource property.

Returns:
possible object is String

setResource

public void setResource(java.lang.String value)
Sets the value of the resource property.

Parameters:
value - allowed object is String

getValue

public java.lang.String getValue()
Gets the resource URL.

Returns:
possible object is String

setValue

public void setValue(java.lang.String value)
Sets the resource URL

Parameters:
value - allowed object is String

toString

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