|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.repository.infomodel.bean.ResourceProperty
public class ResourceProperty
A dynamic property.
The supported properties are:
Namespace | Name | Read-only | Nullable |
---|---|---|---|
repository | id | Yes | N/A |
repository | lid | Yes | N/A |
repository | name | Yes | N/A |
repository | head | Yes | N/A |
repository | description | No | Yes |
repository | object_type | Yes | N/A |
repository | major_version | Yes | N/A |
repository | minor_version | Yes | N/A |
repository | owner_user_id | Yes | N/A |
repository | object_status | No | No |
repository | custom_status | No | Yes |
repository | deployment_status | No | No |
repository | created_by | Yes | N/A |
repository | e_tag | Yes | N/A |
repository | create_time | Yes | N/A |
repository | update_time | Yes | N/A |
repository | content_uri | No | Yes |
repository | content_length | No | No |
repository | mime_type | No | Yes |
webdav | creationdate | Yes | N/A |
webdav | displayname | Yes | N/A |
webdav | getcontentlanguage | Yes | N/A |
webdav | getcontentlength | Yes | N/A |
webdav | getcontenttype | Yes | N/A |
webdav | getetag | Yes | N/A |
webdav | getlastmodified | Yes | N/A |
The
properties defined in the WebDAV specification but not defined in the
Repository's webdav
namespace
are
Field Summary | |
---|---|
static int |
ATTRIBUTE_NAME
Contains the attribute identifier value which represents the name. |
static int |
ATTRIBUTE_NAMESPACE
Contains the attribute identifier value which represents the namespace. |
static int |
ATTRIBUTE_RESOURCE_ID
Contains the attribute identifier value which represents the resource identifier. |
static int |
ATTRIBUTE_VALUE
Contains the attribute identifier value which represents the property value. |
static int |
OBJECT_TYPE_RESOURCEPROPERTY
Contains the object type value which represents ResourceProperty instances. |
static java.lang.String |
RESERVED_NAMESPACE_REPOSITORY
A namespace constant for ResourceProperties in the repository
namespace. |
static java.lang.String |
RESERVED_NAMESPACE_WEBDAV
A namespace constant for ResourceProperties in the WebDAV
namespace. |
Constructor Summary | |
---|---|
ResourceProperty()
Default constructor. |
Method Summary | |
---|---|
java.util.Date |
getCreateTime()
Retrieves the time at which this resource property was first written to the Repository. |
java.lang.String |
getName()
Retrieves this resource property's name. |
java.lang.String |
getNamespace()
Retrieves this resource property's namespace. |
long |
getOid()
Retrieves the numerical object identifier for this instance. |
Id |
getResourceId()
Retrieves the resource identifier. |
java.util.Date |
getUpdateTime()
Retrieves the time at which this resource property was last modified. |
java.lang.String |
getValue()
Retrieves this resource property's value. |
boolean |
isProjected(int attribute)
Determines whether the supplied attribute or composed object is projected. |
void |
setCreateTime(java.util.Date createTime)
Sets the time at which this resource property was first written to the Repository. |
void |
setName(java.lang.String name)
Sets this resource property's name. |
void |
setNamespace(java.lang.String namespace)
Sets this resource property's namespace. |
void |
setOid(long oid)
Sets this resource property's numerical object identifier. |
void |
setRepositoryLoadProfile(RepositoryLoadProfile loadProfile)
Sets the Repository load profile for this resource property. |
void |
setResourceId(Id resourceId)
Sets the resource property's Id . |
void |
setUpdateTime(java.util.Date updateTime)
Sets the time at which this resource property was last modified. |
void |
setValue(java.lang.String value)
Sets this resource property's value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RESERVED_NAMESPACE_REPOSITORY
ResourceProperties
in the repository
namespace.
public static final java.lang.String RESERVED_NAMESPACE_WEBDAV
ResourceProperties
in the WebDAV
namespace.
public static final int OBJECT_TYPE_RESOURCEPROPERTY
ResourceProperty
instances.
public static final int ATTRIBUTE_RESOURCE_ID
public static final int ATTRIBUTE_NAME
public static final int ATTRIBUTE_NAMESPACE
public static final int ATTRIBUTE_VALUE
Constructor Detail |
---|
public ResourceProperty()
Method Detail |
---|
public void setRepositoryLoadProfile(RepositoryLoadProfile loadProfile)
RepositoryLoadProfile
.
loadProfile
- The Repository load profile for this resource property.public boolean isProjected(int attribute)
attribute
- Any one of the LOAD_*
constants.
true
if the supplied attribute or composed object is
projected, false
otherwise.public long getOid()
public void setOid(long oid)
oid
- A positive integer representing this resource property's
numerical object identifier.public Id getResourceId()
public void setResourceId(Id resourceId)
Id
.
resourceId
- The resource property's Id
.public java.lang.String getName()
null
String
containing this
resource property's name.public void setName(java.lang.String name)
name
- A non-null
String
representing this
resource property's name. It must be unique within its namespace.public java.lang.String getNamespace()
null
String
containing this
resource property's namespace.public void setNamespace(java.lang.String namespace)
namespace
- A non-null
String
representing
this resource property's namespace.public java.lang.String getValue()
null
String
containing this
resource property's value.public void setValue(java.lang.String value)
value
- A non-null
string representing this resource
property's value.public java.util.Date getUpdateTime()
public void setUpdateTime(java.util.Date updateTime)
updateTime
- The time at which this resource property was last
modified.public java.util.Date getCreateTime()
public void setCreateTime(java.util.Date createTime)
createTime
- The time at which this resource property was first
written to the Repository.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |