public class PropertyDef extends WcmObject implements IPropertyDef
Copyright (c) SAP AG 2001-2004
ORDER_TYPE_MANUAL, ORDER_TYPE_NONE
Modifier | Constructor and Description |
---|---|
protected |
PropertyDef(IPropertyDef def)
Construct a new PropertyDef
|
|
PropertyDef(PropertyDef def)
Construct a new PropertyDef
|
|
PropertyDef(PropertyType type,
boolean isMultivalued) |
|
PropertyDef(PropertyType type,
boolean isMultivalued,
boolean isRequired,
boolean isReadonly,
boolean isIndexed,
boolean isHidden)
Constructs a new PropertyDef
|
|
PropertyDef(PropertyType type,
boolean isMultivalued,
boolean isRequired,
boolean isReadonly,
boolean isIndexed,
boolean isHidden,
Properties attributes)
Constructs a new PropertyDef
|
Modifier and Type | Method and Description |
---|---|
static IPropertyDef |
createContentLanguage() |
static IPropertyDef |
createContentLength() |
static IPropertyDef |
createContentType() |
static IPropertyDef |
createCreatedBy() |
static IPropertyDef |
createCreationDate() |
static IPropertyDef |
createDescription() |
static IPropertyDef |
createDisplayname() |
static IPropertyDef |
createETag() |
static IPropertyDef |
createHidden() |
static IPropertyDef |
createLastModified() |
static IPropertyDef |
createLastModifiedBy() |
static IPropertyDef |
createReadOnly() |
static IPropertyDef |
createResourceType() |
boolean |
equals(Object propDef)
Compare two PropertyDef objects for equality
|
String |
getAttribute(String name)
Get the value of an attribute.
|
Properties |
getAttributes()
Returns a collection of attributes
|
PropertyType |
getType()
Returns the type of the property.
|
int |
hashCode()
Hashcode
|
boolean |
isHidden()
Returns the value of the Hidden attribute
|
boolean |
isIndexed()
Returns the value of the Indexed attribute
|
boolean |
isMultivalued()
Returns true if the property is multi-valued.
|
boolean |
isReadonly()
Returns the value of the Readonly attribute
|
boolean |
isRequired()
Returns the value of the Required attribute
|
String |
toString()
String representation of a property def
|
static PropertyDef |
valueOf(PropertyType type,
boolean isMultivalued) |
static PropertyDef |
valueOf(PropertyType type,
boolean isMultivalued,
boolean isReadOnly,
boolean isHidden) |
public PropertyDef(PropertyType type, boolean isMultivalued, boolean isRequired, boolean isReadonly, boolean isIndexed, boolean isHidden) throws ResourceException
type
- The property TypeisMultivalued
- If the property has multible valuesisRequired
- If the property can not be deletedisReadonly
- If the property value can not be changedisIndexed
- If the property value is indexedisHidden
- TBD: Description of the incoming method parameterResourceException
- If the property name contains illegal
characters (e.g. whitespace)public PropertyDef(PropertyType type, boolean isMultivalued, boolean isRequired, boolean isReadonly, boolean isIndexed, boolean isHidden, Properties attributes) throws ResourceException
type
- The property TypeisMultivalued
- If the property has multible valuesisRequired
- If the property can not be deletedisReadonly
- If the property value can not be changedisIndexed
- If the property value is indexedisHidden
- TBD: Description of the incoming method parameterattributes
- TBD: Description of the incoming method parameterResourceException
- If the property name contains illegal
characters (e.g. whitespace)public PropertyDef(PropertyDef def)
def
- TBD: Description of the incoming method parameterpublic PropertyDef(PropertyType type, boolean isMultivalued)
protected PropertyDef(IPropertyDef def)
def
- TBD: Description of the incoming method parameterpublic static final PropertyDef valueOf(PropertyType type, boolean isMultivalued)
public static final PropertyDef valueOf(PropertyType type, boolean isMultivalued, boolean isReadOnly, boolean isHidden)
public static IPropertyDef createCreatedBy()
public static IPropertyDef createLastModifiedBy()
public static IPropertyDef createCreationDate()
public static IPropertyDef createHidden()
public static IPropertyDef createLastModified()
public static IPropertyDef createDescription()
public static IPropertyDef createDisplayname()
public static IPropertyDef createReadOnly()
public static IPropertyDef createContentLength()
public static IPropertyDef createContentType()
public static IPropertyDef createETag()
public static IPropertyDef createContentLanguage()
public static IPropertyDef createResourceType()
public int hashCode()
public boolean equals(Object propDef)
public String toString()
public boolean isMultivalued()
isMultivalued
in interface IPropertyDef
public boolean isRequired()
isRequired
in interface IPropertyDef
public PropertyType getType()
getType
in interface IPropertyDef
public boolean isReadonly()
isReadonly
in interface IPropertyDef
public boolean isIndexed()
isIndexed
in interface IPropertyDef
public boolean isHidden()
isHidden
in interface IPropertyDef
public String getAttribute(String name)
getAttribute
in interface IPropertyDef
name
- Attribute namepublic Properties getAttributes()
getAttributes
in interface IPropertyDef
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice