|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.sapportals.wcm.WcmObject
|
+--com.sapportals.wcm.repository.PropertyDef
Information about the type, name and other attributes of a property.
Copyright (c) SAP AG 2001-2004
| Fields inherited from class com.sapportals.wcm.WcmObject |
ORDER_TYPE_MANUAL, ORDER_TYPE_NONE |
| Constructor Summary | |
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,
java.util.Properties attributes)
Constructs a new PropertyDef |
| Method Summary | |
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(java.lang.Object propDef)
Compare two PropertyDef objects for equality |
java.lang.String |
getAttribute(java.lang.String name)
Get the value of an attribute. |
java.util.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 |
java.lang.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)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
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,
java.util.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 parameter
public PropertyDef(PropertyType type,
boolean isMultivalued)
protected PropertyDef(IPropertyDef def)
def - TBD: Description of the incoming method parameter| Method Detail |
public 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()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object propDef)
equals in class java.lang.ObjectpropDef - TBD: Description of the incoming method parameterpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isMultivalued()
isMultivalued in interface IPropertyDefpublic boolean isRequired()
isRequired in interface IPropertyDefpublic PropertyType getType()
getType in interface IPropertyDefpublic boolean isReadonly()
isReadonly in interface IPropertyDefpublic boolean isIndexed()
isIndexed in interface IPropertyDefpublic boolean isHidden()
isHidden in interface IPropertyDefpublic java.lang.String getAttribute(java.lang.String name)
getAttribute in interface IPropertyDefname - Attribute namepublic java.util.Properties getAttributes()
getAttributes in interface IPropertyDef
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||