|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base class for all Publisher properties. Sub-types of
this class can be added to an IDataEntryTemplate
.
All property names must be unique in a Data Entry Template,
regardless of type. If the property name is not unique,
a NameAlreadyInUseException
will be thrown when the
Data Entry Template is persisted.
IContentItem
for details
about retrieving and updating property values.
Method Summary | |
java.lang.String |
getDescription()
Returns the description for this property. |
java.lang.String |
getDisplayName()
Returns the property's display name. |
java.lang.String |
getName()
Returns the property name. |
void |
setDescription(java.lang.String description)
Sets the description for this property. |
void |
setDisplayName(java.lang.String name)
Sets the display name for this property. |
void |
setName(java.lang.String name)
Sets the name for this property. |
Method Detail |
public java.lang.String getDescription()
public java.lang.String getDisplayName()
public java.lang.String getName()
public void setDescription(java.lang.String description)
IDataEntryTemplate.store
is called on that Data Entry Template.
description
- the description of the property;
cannot be null
or longer than 255 characters
java.lang.IllegalArgumentException
- if the description
is longer than 255 characterspublic void setDisplayName(java.lang.String name)
IDataEntryTemplate.store
is called on that Data Entry Template.
name
- the display name of the property;
cannot be null
or longer than 255 characters
java.lang.IllegalArgumentException
- if the display
name is longer than 255 characterspublic void setName(java.lang.String name)
IDataEntryTemplate.store
is called on that Data Entry Template.
All property names must be unique in a Data Entry Template,
including properties of different types, otherwise a
NameAlreadyInUseException
will be thrown when
the Data Entry Template is persisted with properties
of the same name.
name
- the name of the property;
cannot be null
, empty, or longer than 255 characters.
The string used for the name will be trimmed of leading and trailing whitespace when it is stored
and is case-insensitive during name comparison.
java.lang.IllegalArgumentException
- if the
name is an empty string or longer than 255 characters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2010 Oracle® Corporation. All Rights Reserved.