org.oslc.asset.internal
Class Relation

java.lang.Object
  extended by org.oslc.asset.internal.Relation

public class Relation
extends java.lang.Object

Java class for Relation complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Relation">
   <complexContent>
     <extension base="{http://open-services.net/xmlns/asset/1.0/}Resource">
       <sequence>
         <element name="asset" type="{http://open-services.net/xmlns/asset/1.0/}Asset" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String description
           
protected  java.lang.String resource
           
protected  java.lang.String title
           
protected  ResourceRef type
           
 
Constructor Summary
Relation()
           
 
Method Summary
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getResource()
          Gets the value of the asset property.
 java.lang.String getTitle()
          Gets the value of the description property.
 ResourceRef getType()
          Gets the value of the type property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setResource(java.lang.String value)
          Sets the value of the asset property.
 void setTitle(java.lang.String value)
          Sets the value of the description property.
 void setType(ResourceRef value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resource

protected java.lang.String resource

type

protected ResourceRef type

title

protected java.lang.String title

description

protected java.lang.String description
Constructor Detail

Relation

public Relation()
Method Detail

getResource

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

Returns:
possible object is Asset

setResource

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

Parameters:
value - allowed object is Asset

getType

public ResourceRef getType()
Gets the value of the type property.

Returns:
possible object is SimpleLiteral

setType

public void setType(ResourceRef value)
Sets the value of the type property.

Parameters:
value - allowed object is SimpleLiteral

getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getTitle

public java.lang.String getTitle()
Gets the value of the description property.

Returns:
possible object is String

setTitle

public void setTitle(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String