|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.repository.infomodel.bean.Resource com.adobe.repository.infomodel.bean.Fragment com.adobe.repository.infomodel.bean.TextFragment
public class TextFragment
A TextFragment is a Fragment
containing text. The text format can be identified by its ResourceContent
object's MIME type.
Field Summary | |
---|---|
static int |
ATTRIBUTE_ID_STRING
Contains the attribute identifier value which represents TextFragment instances. |
static int |
ATTRIBUTE_TYPE
Contains the attribute identifier value which represents the type. |
static int |
OBJECT_TYPE_TEXT_FRAGMENT
Contains the object type value which represents TextFragment
instances. |
Fields inherited from class com.adobe.repository.infomodel.bean.Fragment |
---|
OBJECT_TYPE_FRAGMENT |
Constructor Summary | |
---|---|
TextFragment()
Default constructor. |
Method Summary | |
---|---|
java.util.Date |
getCreateTime()
Retrieves the time at which this resource was first written to the Repository. |
short |
getType()
Retrieves the MIME type. |
java.util.Date |
getUpdateTime()
Retrieves the time at which this resource was last modified. |
void |
setCreateTime(java.util.Date createTime)
Sets the time at which this resource was first written to the Repository. |
void |
setType(short type)
Sets the MIME type. |
void |
setUpdateTime(java.util.Date updateTime)
Sets the time at which this resource was last modified. |
Methods inherited from class com.adobe.repository.infomodel.bean.Resource |
---|
addLock, addResourceProperty, getAclId, getContactId, getContactUserId, getContent, getCreatedBy, getCustomStatus, getDeploymentStatus, getDescription, getETag, getHead, getId, getLid, getLocks, getMajorVersion, getMinorVersion, getName, getObjectStatus, getObjectType, getOwnerUserId, getPath, getResourceProperties, isProjected, removeLock, removeResourceProperty, setAclId, setContactId, setContactUserId, setContent, setCreatedBy, setCustomStatus, setDeploymentStatus, setDescription, setETag, setHead, setId, setLid, setLocks, setMajorVersion, setMinorVersion, setName, setObjectStatus, setObjectType, setOwnerUserId, setPath, setRepositoryLoadProfile, setResourceProperties |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int OBJECT_TYPE_TEXT_FRAGMENT
TextFragment
instances.
public static final int ATTRIBUTE_ID_STRING
TextFragment
instances.
public static final int ATTRIBUTE_TYPE
Constructor Detail |
---|
public TextFragment()
Method Detail |
---|
public short getType()
public void setType(short type)
ResourceContent
object's MIME type be
used.
type
- the MIME type.public java.util.Date getUpdateTime()
getUpdateTime
in class Fragment
public void setUpdateTime(java.util.Date updateTime)
setUpdateTime
in class Fragment
updateTime
- The time at which this resource was last modified.public java.util.Date getCreateTime()
getCreateTime
in class Fragment
public void setCreateTime(java.util.Date createTime)
setCreateTime
in class Fragment
createTime
- The time at which this resource was first written to the
Repository.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |