au.edu.archer.schemas.icat
Class DataFile

java.lang.Object
  extended by au.edu.archer.schemas.icat.DataFile
All Implemented Interfaces:
BaseDomain, java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals

public class DataFile
extends java.lang.Object
implements BaseDomain, org.jvnet.jaxb2_commons.lang.Equals

Java class for DataFile complex type.

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

 <complexType name="DataFile">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="dataSetID" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="location" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="format" type="{http://archer.edu.au/schemas/icat}DataFileFormat" minOccurs="0"/>
         <element name="size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="parameter" type="{http://archer.edu.au/schemas/icat}DataFileParameter" maxOccurs="unbounded" minOccurs="0"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="versionComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="command" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="checksum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="signature" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="deleted" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="createId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="createTime" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
         <element name="modifyId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.String checksum
           
protected  java.lang.String command
           
protected  java.lang.Integer createId
           
protected  java.util.Calendar createTime
           
protected  java.lang.Integer dataSetID
           
protected  boolean deleted
           
protected  java.lang.String description
           
protected  DataFileFormat format
           
protected  java.lang.Integer id
           
protected  java.lang.String location
           
protected  java.lang.Integer modifyId
           
protected  java.util.Calendar modifyTime
           
protected  java.lang.String name
           
protected  java.util.List<DataFileParameter> parameter
           
protected  java.lang.String signature
           
protected  java.lang.Integer size
           
protected  java.lang.String version
           
protected  java.lang.String versionComment
           
 
Constructor Summary
DataFile()
           
 
Method Summary
 void addParameter(DataFileParameter child)
           
 void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
          This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.lang.String getChecksum()
          Gets the value of the checksum property.
 java.lang.String getCommand()
          Gets the value of the command property.
 java.lang.Integer getCreateId()
          Gets the value of the createId property.
 java.util.Calendar getCreateTime()
          Gets the value of the createTime property.
 DataSet getDataSet()
           
 java.lang.Integer getDataSetID()
          Gets the value of the dataSetID property.
 java.lang.String getDescription()
          Gets the value of the description property.
 DataFileFormat getFormat()
          Gets the value of the format property.
 java.lang.Integer getId()
          Gets the value of the id property.
 java.lang.String getLocation()
          Gets the value of the location property.
 java.lang.Integer getModifyId()
          Gets the value of the modifyId property.
 java.util.Calendar getModifyTime()
          Gets the value of the modifyTime property.
 java.lang.String getName()
          Gets the value of the name property.
 java.util.List<DataFileParameter> getParameter()
          Gets the value of the parameter property.
 java.lang.String getSignature()
          Gets the value of the signature property.
 java.lang.Integer getSize()
          Gets the value of the size property.
 java.lang.String getVersion()
          Gets the value of the version property.
 java.lang.String getVersionComment()
          Gets the value of the versionComment property.
 boolean isDeleted()
          Gets the value of the deleted property.
 boolean isSetChecksum()
           
 boolean isSetCommand()
           
 boolean isSetCreateId()
           
 boolean isSetCreateTime()
           
 boolean isSetDataSetID()
           
 boolean isSetDeleted()
           
 boolean isSetDescription()
           
 boolean isSetFormat()
           
 boolean isSetId()
           
 boolean isSetLocation()
           
 boolean isSetModifyId()
           
 boolean isSetModifyTime()
           
 boolean isSetName()
           
 boolean isSetParameter()
           
 boolean isSetSignature()
           
 boolean isSetSize()
           
 boolean isSetVersion()
           
 boolean isSetVersionComment()
           
 void setChecksum(java.lang.String value)
          Sets the value of the checksum property.
 void setCommand(java.lang.String value)
          Sets the value of the command property.
 void setCreateId(java.lang.Integer value)
          Sets the value of the createId property.
 void setCreateTime(java.util.Calendar value)
          Sets the value of the createTime property.
 void setDataSet(DataSet dataSet)
           
 void setDataSetID(java.lang.Integer value)
          Sets the value of the dataSetID property.
 void setDeleted(boolean value)
          Sets the value of the deleted property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setFormat(DataFileFormat value)
          Sets the value of the format property.
 void setId(java.lang.Integer value)
          Sets the value of the id property.
 void setLocation(java.lang.String value)
          Sets the value of the location property.
 void setModifyId(java.lang.Integer value)
          Sets the value of the modifyId property.
 void setModifyTime(java.util.Calendar value)
          Sets the value of the modifyTime property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setParameter(java.util.List<DataFileParameter> parameter)
           
 void setSignature(java.lang.String value)
          Sets the value of the signature property.
 void setSize(java.lang.Integer value)
          Sets the value of the size property.
 void setVersion(java.lang.String value)
          Sets the value of the version property.
 void setVersionComment(java.lang.String value)
          Sets the value of the versionComment property.
 void unsetParameter()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.lang.Integer id

dataSetID

protected java.lang.Integer dataSetID

name

protected java.lang.String name

location

protected java.lang.String location

format

protected DataFileFormat format

size

protected java.lang.Integer size

parameter

protected java.util.List<DataFileParameter> parameter

description

protected java.lang.String description

version

protected java.lang.String version

versionComment

protected java.lang.String versionComment

command

protected java.lang.String command

checksum

protected java.lang.String checksum

signature

protected java.lang.String signature

deleted

protected boolean deleted

createId

protected java.lang.Integer createId

createTime

protected java.util.Calendar createTime

modifyId

protected java.lang.Integer modifyId

modifyTime

protected java.util.Calendar modifyTime
Constructor Detail

DataFile

public DataFile()
Method Detail

getId

public java.lang.Integer getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.Integer value)
Sets the value of the id property.

Parameters:
value - allowed object is String

isSetId

public boolean isSetId()

getDataSetID

public java.lang.Integer getDataSetID()
Gets the value of the dataSetID property.

Returns:
possible object is String

setDataSetID

public void setDataSetID(java.lang.Integer value)
Sets the value of the dataSetID property.

Parameters:
value - allowed object is String

isSetDataSetID

public boolean isSetDataSetID()

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

isSetName

public boolean isSetName()

getLocation

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

Returns:
possible object is String

setLocation

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

Parameters:
value - allowed object is String

isSetLocation

public boolean isSetLocation()

getFormat

public DataFileFormat getFormat()
Gets the value of the format property.

Returns:
possible object is DataFileFormat

setFormat

public void setFormat(DataFileFormat value)
Sets the value of the format property.

Parameters:
value - allowed object is DataFileFormat

isSetFormat

public boolean isSetFormat()

getSize

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

Returns:
possible object is String

setSize

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

Parameters:
value - allowed object is String

isSetSize

public boolean isSetSize()

getParameter

public java.util.List<DataFileParameter> getParameter()
Gets the value of the parameter property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the parameter property.

For example, to add a new item, do as follows:

    getParameter().add(newItem);
 

Objects of the following type(s) are allowed in the list DataFileParameter


setParameter

public void setParameter(java.util.List<DataFileParameter> parameter)

isSetParameter

public boolean isSetParameter()

unsetParameter

public void unsetParameter()

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

isSetDescription

public boolean isSetDescription()

getVersion

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

Returns:
possible object is String

setVersion

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

Parameters:
value - allowed object is String

isSetVersion

public boolean isSetVersion()

getVersionComment

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

Returns:
possible object is String

setVersionComment

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

Parameters:
value - allowed object is String

isSetVersionComment

public boolean isSetVersionComment()

getCommand

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

Returns:
possible object is String

setCommand

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

Parameters:
value - allowed object is String

isSetCommand

public boolean isSetCommand()

getChecksum

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

Returns:
possible object is String

setChecksum

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

Parameters:
value - allowed object is String

isSetChecksum

public boolean isSetChecksum()

getSignature

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

Returns:
possible object is String

setSignature

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

Parameters:
value - allowed object is String

isSetSignature

public boolean isSetSignature()

isDeleted

public boolean isDeleted()
Gets the value of the deleted property.


setDeleted

public void setDeleted(boolean value)
Sets the value of the deleted property.


isSetDeleted

public boolean isSetDeleted()

getCreateId

public java.lang.Integer getCreateId()
Gets the value of the createId property.

Specified by:
getCreateId in interface BaseDomain
Returns:
possible object is String

setCreateId

public void setCreateId(java.lang.Integer value)
Sets the value of the createId property.

Specified by:
setCreateId in interface BaseDomain
Parameters:
value - allowed object is String

isSetCreateId

public boolean isSetCreateId()

getCreateTime

public java.util.Calendar getCreateTime()
Gets the value of the createTime property.

Specified by:
getCreateTime in interface BaseDomain
Returns:
possible object is String

setCreateTime

public void setCreateTime(java.util.Calendar value)
Sets the value of the createTime property.

Specified by:
setCreateTime in interface BaseDomain
Parameters:
value - allowed object is String

isSetCreateTime

public boolean isSetCreateTime()

getModifyId

public java.lang.Integer getModifyId()
Gets the value of the modifyId property.

Specified by:
getModifyId in interface BaseDomain
Returns:
possible object is String

setModifyId

public void setModifyId(java.lang.Integer value)
Sets the value of the modifyId property.

Specified by:
setModifyId in interface BaseDomain
Parameters:
value - allowed object is String

isSetModifyId

public boolean isSetModifyId()

getModifyTime

public java.util.Calendar getModifyTime()
Gets the value of the modifyTime property.

Specified by:
getModifyTime in interface BaseDomain
Returns:
possible object is String

setModifyTime

public void setModifyTime(java.util.Calendar value)
Sets the value of the modifyTime property.

Specified by:
setModifyTime in interface BaseDomain
Parameters:
value - allowed object is String

isSetModifyTime

public boolean isSetModifyTime()

getDataSet

public DataSet getDataSet()

setDataSet

public void setDataSet(DataSet dataSet)

addParameter

public void addParameter(DataFileParameter child)

afterUnmarshal

public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
                           java.lang.Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.

Parameters:
unmarshaller - The unmarshaller that generated the instance.
parent - The parent object in the object tree.

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

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


Copyright © 2008 ARCHER - James Cook University. All Rights Reserved.