com.ibm.ram.internal.jaxb
Class Artifact

java.lang.Object
  extended by com.ibm.ram.internal.jaxb.Artifact

public class Artifact
extends java.lang.Object

Represents the Artifact complex type.

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

 <complexType name="Artifact">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="content" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="lastModified" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="reference" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}ArtifactReference" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}resourceAttrs"/>
       <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="type" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}ArtifactType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String base
           
protected  java.lang.String content
           
protected  java.lang.String description
           
protected  java.lang.String etag
           
protected  java.lang.String href
           
protected  java.lang.String label
           
protected  java.lang.String lang
           
protected  javax.xml.datatype.XMLGregorianCalendar lastModified
           
protected  java.lang.String mimeType
           
protected  java.lang.String name
           
protected  java.lang.String path
           
protected  ArtifactReference reference
           
protected  java.lang.Long size
           
protected  java.lang.String space
           
protected  ArtifactType type
           
 
Constructor Summary
Artifact()
           
Artifact(Artifact oslcArtifact)
           
 
Method Summary
 java.lang.String getBase()
          Gets the value of the base property.
 java.lang.String getContent()
          Gets the value of the content property.
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getEtag()
          Gets the value of the etag property.
 java.lang.String getHref()
          Gets the value of the href property.
 java.lang.String getLabel()
          Gets the value of the label property.
 java.lang.String getLang()
          Gets the value of the lang property.
 javax.xml.datatype.XMLGregorianCalendar getLastModified()
          Gets the value of the lastModified property.
 java.lang.String getMimeType()
          Gets the value of the mimeType property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getPath()
          Gets the value of the path property.
 ArtifactReference getReference()
          Gets the value of the reference property.
 java.lang.Long getSize()
          Gets the value of the size property.
 java.lang.String getSpace()
          Gets the value of the space property.
 ArtifactType getType()
          Gets the value of the type property.
 void setBase(java.lang.String value)
          Sets the value of the base property.
 void setContent(java.lang.String value)
          Sets the value of the content property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setEtag(java.lang.String value)
          Sets the value of the etag property.
 void setHref(java.lang.String value)
          Sets the value of the href property.
 void setLabel(java.lang.String value)
          Sets the value of the label property.
 void setLang(java.lang.String value)
          Sets the value of the lang property.
 void setLastModified(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the lastModified property.
 void setMimeType(java.lang.String value)
          Sets the value of the mimeType property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setPath(java.lang.String value)
          Sets the value of the path property.
 void setReference(ArtifactReference value)
          Sets the value of the reference property.
 void setSize(java.lang.Long value)
          Sets the value of the size property.
 void setSpace(java.lang.String value)
          Sets the value of the space property.
 void setType(ArtifactType value)
          Sets the value of the type property.
 Artifact toOSLCArtifact()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

description

protected java.lang.String description

path

protected java.lang.String path

label

protected java.lang.String label

content

protected java.lang.String content

mimeType

protected java.lang.String mimeType

lastModified

protected javax.xml.datatype.XMLGregorianCalendar lastModified

reference

protected ArtifactReference reference

size

protected java.lang.Long size

type

protected ArtifactType type

etag

protected java.lang.String etag

href

protected java.lang.String href

base

protected java.lang.String base

lang

protected java.lang.String lang

space

protected java.lang.String space
Constructor Detail

Artifact

public Artifact()

Artifact

public Artifact(Artifact oslcArtifact)
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

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

getPath

public java.lang.String getPath()
Gets the value of the path property.

Returns:
possible object is String

setPath

public void setPath(java.lang.String value)
Sets the value of the path property.

Parameters:
value - allowed object is String

getLabel

public java.lang.String getLabel()
Gets the value of the label property.

Returns:
possible object is String

setLabel

public void setLabel(java.lang.String value)
Sets the value of the label property.

Parameters:
value - allowed object is String

getContent

public java.lang.String getContent()
Gets the value of the content property.

Returns:
possible object is String

setContent

public void setContent(java.lang.String value)
Sets the value of the content property.

Parameters:
value - allowed object is String

getMimeType

public java.lang.String getMimeType()
Gets the value of the mimeType property.

Returns:
possible object is String

setMimeType

public void setMimeType(java.lang.String value)
Sets the value of the mimeType property.

Parameters:
value - allowed object is String

getLastModified

public javax.xml.datatype.XMLGregorianCalendar getLastModified()
Gets the value of the lastModified property.

Returns:
possible object is XMLGregorianCalendar

setLastModified

public void setLastModified(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the lastModified property.

Parameters:
value - allowed object is XMLGregorianCalendar

getReference

public ArtifactReference getReference()
Gets the value of the reference property.

Returns:
possible object is ArtifactReference

setReference

public void setReference(ArtifactReference value)
Sets the value of the reference property.

Parameters:
value - allowed object is ArtifactReference

getSize

public java.lang.Long getSize()
Gets the value of the size property.

Returns:
possible object is Long

setSize

public void setSize(java.lang.Long value)
Sets the value of the size property.

Parameters:
value - allowed object is Long

getType

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

Returns:
possible object is ArtifactType

setType

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

Parameters:
value - allowed object is ArtifactType

getEtag

public java.lang.String getEtag()
Gets the value of the etag property.

Returns:
possible object is String

setEtag

public void setEtag(java.lang.String value)
Sets the value of the etag property.

Parameters:
value - allowed object is String

getHref

public java.lang.String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

public void setHref(java.lang.String value)
Sets the value of the href property.

Parameters:
value - allowed object is String

getBase

public java.lang.String getBase()
Gets the value of the base property.

Returns:
possible object is String

setBase

public void setBase(java.lang.String value)
Sets the value of the base property.

Parameters:
value - allowed object is String

getLang

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

Returns:
possible object is String

setLang

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

Parameters:
value - allowed object is String

getSpace

public java.lang.String getSpace()
Gets the value of the space property.

Returns:
possible object is String

setSpace

public void setSpace(java.lang.String value)
Sets the value of the space property.

Parameters:
value - allowed object is String

toString

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

toOSLCArtifact

public Artifact toOSLCArtifact()