com.adobe.repository.infomodel.bean
Class Fragment

java.lang.Object
  extended by com.adobe.repository.infomodel.bean.Resource
      extended by com.adobe.repository.infomodel.bean.Fragment
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FormFragment, TextFragment

public class Fragment
extends Resource
implements java.io.Serializable

A Fragment is a resource that describes shared resources of a given type. For example, external XFA prototypes and text fragments are Fragment objects.

See Also:
Serialized Form

Field Summary
static int ATTRIBUTE_ID_STRING
          Contains the attribute identifier value which represents Fragment instances.
static int OBJECT_TYPE_FRAGMENT
          Contains the object type value which represents Fragment instances (not subtypes).
 
Fields inherited from class com.adobe.repository.infomodel.bean.Resource
ATTRIBUTE_ACL_ID, ATTRIBUTE_APPSTORE_VERSION, ATTRIBUTE_CONTACT_ID, ATTRIBUTE_CONTACT_USER_ID, ATTRIBUTE_CONTENT_IMPL_OID, ATTRIBUTE_CREATE_TIME, ATTRIBUTE_CREATED_BY, ATTRIBUTE_CUSTOM_STATUS, ATTRIBUTE_DEPLOYMENT_STATUS, ATTRIBUTE_DESCRIPTION, ATTRIBUTE_E_TAG, ATTRIBUTE_HEAD, ATTRIBUTE_ID, ATTRIBUTE_LID, ATTRIBUTE_MAJOR_VERSION, ATTRIBUTE_MINOR_VERSION, ATTRIBUTE_NAME, ATTRIBUTE_OBJECT_STATUS, ATTRIBUTE_OBJECT_TYPE, ATTRIBUTE_OWNER_USER_ID, ATTRIBUTE_PATH, ATTRIBUTE_UPDATE_TIME, DEPLOYMENT_STATUS_ACTIVE, DEPLOYMENT_STATUS_DEPLOYED, DEPLOYMENT_STATUS_INACTIVE, DEPLOYMENT_STATUS_UNSPECIFIED, DEPTH_ZERO, OBJECT_STATUS_DEPRECATED, OBJECT_STATUS_LATEST, OBJECT_STATUS_UNSPECIFIED, OBJECT_STATUS_UPDATED, OBJECT_TYPE_RESOURCE, RELATION_CONTENT, RELATION_LOCKS, RELATION_RESOURCE_PROPERTIES
 
Constructor Summary
Fragment()
          The default constructor.
 
Method Summary
 java.util.Date getCreateTime()
          Retrieves the time at which this resource was first written to the Repository.
 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 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

OBJECT_TYPE_FRAGMENT

public static final int OBJECT_TYPE_FRAGMENT
Contains the object type value which represents Fragment instances (not subtypes).

See Also:
Constant Field Values

ATTRIBUTE_ID_STRING

public static final int ATTRIBUTE_ID_STRING
Contains the attribute identifier value which represents Fragment instances.

See Also:
Constant Field Values
Constructor Detail

Fragment

public Fragment()
The default constructor.

Method Detail

getUpdateTime

public java.util.Date getUpdateTime()
Retrieves the time at which this resource was last modified.

Overrides:
getUpdateTime in class Resource
Returns:
The time at which this resource was last modified.

setUpdateTime

public void setUpdateTime(java.util.Date updateTime)
Sets the time at which this resource was last modified.

Overrides:
setUpdateTime in class Resource
Parameters:
updateTime - The time at which this resource was last modified.

getCreateTime

public java.util.Date getCreateTime()
Retrieves the time at which this resource was first written to the Repository.

Overrides:
getCreateTime in class Resource
Returns:
The time at which this resource was first written to the Repository.

setCreateTime

public void setCreateTime(java.util.Date createTime)
Sets the time at which this resource was first written to the Repository.

Overrides:
setCreateTime in class Resource
Parameters:
createTime - The time at which this resource was first written to the Repository.