org.rhq.core.domain.drift
Class JPADriftFile

java.lang.Object
  extended by org.rhq.core.domain.drift.AbstractJPADriftFile
      extended by org.rhq.core.domain.drift.JPADriftFile
All Implemented Interfaces:
Serializable, DriftFile

public class JPADriftFile
extends AbstractJPADriftFile
implements Serializable, DriftFile

The JPA Drift Server plugin (the RHQ default) implementation of DriftFile. Note that JPADriftFile does not include the actual bits, and therefore can be used freely client-side (gwt). The bits are stored via the JPADriftFileBits class, which is like this one but adds the Blob field.

See Also:
Serialized Form

Field Summary
static String NATIVE_DELETE_ORPHANED_DRIFT_FILES
           
 
Fields inherited from class org.rhq.core.domain.drift.AbstractJPADriftFile
ctime, dataSize, status
 
Constructor Summary
protected JPADriftFile()
           
  JPADriftFile(String hashId)
           
 
Method Summary
 String getHashId()
           
 void setHashId(String hashId)
           
 String toString()
           
 
Methods inherited from class org.rhq.core.domain.drift.AbstractJPADriftFile
getCtime, getDataSize, getStatus, setDataSize, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.rhq.core.domain.drift.DriftFile
getCtime, getDataSize, getStatus, setDataSize, setStatus
 

Field Detail

NATIVE_DELETE_ORPHANED_DRIFT_FILES

public static final String NATIVE_DELETE_ORPHANED_DRIFT_FILES
See Also:
Constant Field Values
Constructor Detail

JPADriftFile

protected JPADriftFile()

JPADriftFile

public JPADriftFile(String hashId)
Method Detail

getHashId

public String getHashId()
Specified by:
getHashId in interface DriftFile

setHashId

public void setHashId(String hashId)
Specified by:
setHashId in interface DriftFile

toString

public String toString()
Overrides:
toString in class Object


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