org.rhq.core.domain.drift
Class AbstractJPADriftFile

java.lang.Object
  extended by org.rhq.core.domain.drift.AbstractJPADriftFile
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JPADriftFile, JPADriftFileBits

public class AbstractJPADriftFile
extends Object
implements Serializable

A JPADriftFile represents one unique piece of content used for drift tracking. Because the bits are supported by java.sql.Blob and java.io streaming, we must hide the bits from entities used on the gwt client. This base class is used as the superclass for both JPADriftFile (no blob) and JPADriftFileBits (blob).

See Also:
Serialized Form

Field Summary
protected  Long ctime
           
protected  Long dataSize
           
protected  DriftFileStatus status
           
 
Constructor Summary
protected AbstractJPADriftFile()
           
 
Method Summary
 Long getCtime()
           
 Long getDataSize()
           
 DriftFileStatus getStatus()
           
 void setDataSize(Long dataSize)
           
 void setStatus(DriftFileStatus status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ctime

protected Long ctime

dataSize

protected Long dataSize

status

protected DriftFileStatus status
Constructor Detail

AbstractJPADriftFile

protected AbstractJPADriftFile()
Method Detail

getCtime

public Long getCtime()

setDataSize

public void setDataSize(Long dataSize)

getDataSize

public Long getDataSize()

getStatus

public DriftFileStatus getStatus()

setStatus

public void setStatus(DriftFileStatus status)


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.