com.arsdigita.mimetypes.converters
Class PreConvertHTML

java.lang.Object
  extended bycom.arsdigita.domain.DomainObject
      extended bycom.arsdigita.mimetypes.converters.PreConvertHTML

public class PreConvertHTML
extends DomainObject

The PreConvertHTML class represents a single row in the pre_convert_html table.

Version:
1.0
Author:
Jeff Teeters

Field Summary
static String BASE_DATA_OBJECT_TYPE
           
static String versionId
           
 
Constructor Summary
PreConvertHTML()
          Default constructor.
PreConvertHTML(OID oid)
          Constructor.
 
Method Summary
protected  String getBaseDataObjectType()
          Returns the base data object type for this domain object class.
 byte[] getContent()
           
 BigDecimal getId()
           
 void setContent(byte[] content)
           
 void setId(BigDecimal id)
           
 
Methods inherited from class com.arsdigita.domain.DomainObject
add, add, addToAssociation, afterDelete, afterSave, beforeDelete, beforeSave, clear, delete, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, initialize, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values

BASE_DATA_OBJECT_TYPE

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

PreConvertHTML

public PreConvertHTML()
Default constructor. The contained DataObject is initialized with a new DataObject with an ObjectType of "PreConvertHTML".


PreConvertHTML

public PreConvertHTML(OID oid)
               throws DataObjectNotFoundException
Constructor. The contained DataObject is retrieved from the persistent storage mechanism with an OID specified by oid.

Parameters:
oid - The OID for the retrieved DataObject.
Method Detail

getBaseDataObjectType

protected String getBaseDataObjectType()
Description copied from class: DomainObject
Returns the base data object type for this domain object class. Intended to be overrided by subclasses whenever the subclass will only work if their primary data object is of a certain base type.

Overrides:
getBaseDataObjectType in class DomainObject
Returns:
The fully qualified name ("modelName.typeName") of the base data object type for this domain object class, or null if there is no restriction on the data object type for the primary data object encapsulated by this class.

setId

public void setId(BigDecimal id)

setContent

public void setContent(byte[] content)

getId

public BigDecimal getId()

getContent

public byte[] getContent()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC