|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface should be used on those ContentHolders that want to store
a primary format (for mainly display purposes). For example, the WTDocument
in wt.doc that are displayed based on their content implment this interface.
The behavoir of FormatContentHolders is similar to ContentHolders, except
that their primary format of them will be set as content changes in the
holder.
Supported API: true
Extendable: true
ContentHolder
,
WTDocument
Field Summary | |
static String |
FORMAT
Label for the attribute. |
static String |
FORMAT_NAME
Label for the attribute. |
static String |
PRIMARY
Label for the attribute; This is a non-persistent ContentItem for FormatContentHolders that is used to pass the primary content from server to client. |
Fields inherited from interface wt.content.ContentHolder |
CONTENT_VECTOR, HAS_CONTENTS, HTTP_VECTOR, OPERATION |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Method Summary | |
DataFormatReference |
getFormat()
Gets the object for the association that plays role: FORMAT. |
String |
getFormatName()
Gets the value of the attribute: FORMAT_NAME. |
ContentItem |
getPrimary()
Gets the value of the attribute: PRIMARY. |
void |
setFormat(DataFormatReference a_Format)
Sets the object for the association that plays role: FORMAT. |
void |
setPrimary(ContentItem a_Primary)
Sets the value of the attribute: PRIMARY. |
Methods inherited from interface wt.content.ContentHolder |
getContentVector, getHttpVector, getOperation, isHasContents, setContentVector, setHasContents, setHttpVector, setOperation |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.ObjectMappable |
readExternal, writeExternal |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Field Detail |
public static final String FORMAT_NAME
public static final String PRIMARY
public static final String FORMAT
Method Detail |
public String getFormatName()
public ContentItem getPrimary()
public void setPrimary(ContentItem a_Primary) throws WTPropertyVetoException
a_Primary
-
WTPropertyVetoException
public DataFormatReference getFormat()
public void setFormat(DataFormatReference a_Format) throws WTPropertyVetoException
a_Format
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |