|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.assetapi.def.AttributeDefProperties
public final class AttributeDefProperties
This class is a container for all properties associated with AttributeDef. These properties and their values (defined here against each property) establish part of the data and part of the run time characteristics for attributes.
Nested Class Summary | |
---|---|
static class |
AttributeDefProperties.EnumData
Indicates the data definition associated with an attribute of type ENUM |
static class |
AttributeDefProperties.ValueCount
Indicates whether the attribute is single valued, multiple valued or a multiple value ordered |
Field Summary | |
---|---|
static java.lang.String |
ANYTYPE
|
static java.lang.String |
FILENAME
|
static java.lang.String |
FOLDER
|
Constructor Summary | |
---|---|
AttributeDefProperties()
|
Method Summary | |
---|---|
AttributeDef |
getAssetid()
Retrieves the assetid information for the attribute |
java.util.Map<java.lang.String,java.lang.String> |
getAssetRef()
Gets the asset reference map of attribute typed Asset |
java.lang.String |
getAssetType()
Retrieves the asset type for attribute typed of asset |
java.lang.String |
getAttributeEditor()
Retrieves the attribute editor name for this flex attribute type |
long |
getAttributeId()
Gets the flex attribute id for a flex attribute |
java.lang.String |
getCharset()
Gets the charset for the flex attribute |
java.lang.String |
getContentType()
Gets the content type for a blob typed flex attribute |
java.lang.String |
getConvertEngine()
Gets the convert engine name for the attribute |
java.util.Map<java.lang.String,AttributeDef> |
getDataMap()
Gets the datamap for attribute typed List/Array etc. |
java.lang.String |
getDefaultValue()
gets the default value for the Attribute if no other value is specified |
DependencyTypeEnum |
getDepType()
Gets the dependency type of the attribute |
java.lang.String |
getEditingStyple()
Gets the editing style, local or remote , for flex attribute |
java.lang.Number |
getEndEnum()
Gets the ending enum value of attribute typed of STRUCT, ARRAY, ect. |
AttributeDefProperties.EnumData |
getEnumData()
Gets the enum data that the attribute could be valued |
java.lang.String |
getExternalCol()
Gets the external table column name for flex attribute |
java.lang.String |
getExternalId()
Gets the external table column name for the value of external saved flex attribute |
java.lang.String |
getExternalTable()
Gets the external table name of the flex attribute |
AttributeDef |
getFilter()
Gets the filter for this attribute |
java.lang.String |
getFilterID()
Retrieves the flex filter id associated with a flex attribute |
int |
getMinElementCount()
Gets the mininum element count for attribute typed List |
int |
getMinRowCount()
Gets the mininum row count for attribute typed List |
DependencyTypeEnum |
getMirrorDepType()
Retrieves the dependency type for this attribute in term of mirror publishing |
AttributeDef |
getMultiple()
Retrieves the multiple information about the attribute |
AttributeDef |
getOrdinal()
Retrieves the ordinal information for the attribute |
AttributeDef |
getRequired()
Retrieves the required information for the attribute |
java.lang.String |
getSearchEngineName()
Gets the search engine name for the flex attribute |
int |
getSize()
Retrieves the data size of the attribute type |
java.lang.Number |
getStartEnum()
Gets the starting enum value of attribute typed of STRUCT, ARRAY, ect. |
java.lang.String |
getStorageStyle()
Gets the storage style, local or external, for flex attribute |
java.lang.String |
getUploadDir()
Gets the upload folder for the flex attribute typed url |
AttributeDefProperties.ValueCount |
getValueCount()
Retrieves the ValueCount information(whether attribute is single, multiple, or multiple ordered) of the attribute in the asset definition |
boolean |
isAllowEmbeddedLinks()
Gets whether embedded links are allowed in this flex attribute or not |
boolean |
isDerivedFlexAttribute()
Retrieves whether the attribute is an derived attribute in the asset defintion that contains it |
boolean |
isEditable()
Retrieves whether the attribute is editable or not in the asset |
boolean |
isInheritedFlexAttribute()
Retrieves whether the attribute is an inherited parent attribute or not |
void |
setAllowEmbeddedLinks(boolean allowEmbeddedLinks)
Sets whether the attribute allows embedded links to be created inside its content |
void |
setAssetid(AttributeDef assetid)
Specifies the assetid information of the attribute |
void |
setAssetRef(java.util.Map<java.lang.String,java.lang.String> assetRef)
Sets the asset reference map of attribute typed Asset |
void |
setAssetType(java.lang.String assetType)
Specifies the asset type for attribute typed of asset |
void |
setAttributeEditor(java.lang.String attributeEditor)
Specifies the attribute editor name for this flex attribute type |
void |
setAttributeId(long attributeId)
Sets the id for the attribute |
void |
setCharset(java.lang.String charset)
Sets charset for flex attribute |
void |
setContentType(java.lang.String contentType)
Sets the content type for a blob typed flex attribute |
void |
setConvertEngine(java.lang.String convertEngine)
Sets the convert engine for the attribute |
void |
setDataMap(java.util.Map<java.lang.String,AttributeDef> dataMap)
Sets the datamap for attribute typed List/Array etc. |
void |
setDefaultValue(java.lang.String defaultValue)
Sets the default value for the Attribute |
void |
setDepType(DependencyTypeEnum depType)
Sets the dependency type of this attribute |
void |
setDerivedFlexAttribute(boolean derivedFlexAttribute)
Specifies whether the attribute is an derived attribute in the asset defintion that contains it |
void |
setEditable(boolean editable)
Specifies whether the attribute is editable or not in the asset |
void |
setEditingStyple(java.lang.String editingStyple)
Sets the editing styple of the flex attribute |
void |
setEndEnum(java.lang.Number endEnum)
Sets the ending enum value of attribute typed of STRUCT, ARRAY, ect. |
void |
setEnumData(AttributeDefProperties.EnumData enumData)
Sets the enum data that the attribute could be valued |
void |
setExternalCol(java.lang.String externalCol)
Sets the Column name of the external table where the attribute is stored |
void |
setExternalId(java.lang.String externalId)
Sets the id in the external table where the flex attribute is stored |
void |
setExternalTable(java.lang.String externalTable)
Sets the external table name for the flex attribute that stored externally |
void |
setFilter(AttributeDef filter)
Sets the filter for this attribute |
void |
setFilterID(java.lang.String filterID)
Specifies the flex filter id associated with a flex attribute |
void |
setInheritedFlexAttribute(boolean inheritedFlexAttribute)
Specifies whether the flex attribute is an attribute that has its values inherited from its parents |
void |
setMinElementCount(int minElementCount)
Sets the mininum element count for attribute typed List |
void |
setMinRowCount(int minRowCount)
Sets the mininum row count for attribute typed List |
void |
setMirrorDepType(DependencyTypeEnum mirrorDepType)
Specifies the dependency type for this attribute in term of mirror publishing |
void |
setMultiple(AttributeDef multiple)
Specifies the multiple information about the |
void |
setOrdinal(AttributeDef ordinal)
Specifies the ordinal inforamtion for the attribute |
void |
setRequired(AttributeDef required)
Specifies the required information for the attribute |
void |
setSearchEngineName(java.lang.String searchEngineName)
Sets the search engine name for the attribute to be indexed with |
void |
setSize(int size)
Sepcifies the size of the attribute |
void |
setStartEnum(java.lang.Number startEnum)
Sets the starting enum value of attribute typed of STRUCT, ARRAY, ect. |
void |
setStorageStyle(java.lang.String storageStyle)
Sets the storage styple, local/external for the flex attribute; local indicates the attribute is stored in Content Server managed table, external indicates the attribute is from other table |
void |
setUploadDir(java.lang.String uploadDir)
Sets the upload folder for the flex attribute typed url |
void |
setValueCount(AttributeDefProperties.ValueCount valueCount)
Specifies the ValueCount information(whether attribute is single, multiple, or multiple ordered) of the attribute in the asset definition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String FOLDER
public static java.lang.String FILENAME
public static java.lang.String ANYTYPE
Constructor Detail |
---|
public AttributeDefProperties()
Method Detail |
---|
public java.lang.String getFilterID()
public void setFilterID(java.lang.String filterID)
filterID
- the String filter idpublic DependencyTypeEnum getDepType()
public void setDepType(DependencyTypeEnum depType)
depType
- the dependency typepublic boolean isInheritedFlexAttribute()
public void setInheritedFlexAttribute(boolean inheritedFlexAttribute)
inheritedFlexAttribute
- true
indicates this attribute is an inherited attribute, false
indicates notpublic AttributeDef getFilter()
public void setFilter(AttributeDef filter)
filter
- the filterpublic AttributeDef getMultiple()
public void setMultiple(AttributeDef multiple)
multiple
- the object typed of AttributeDef to indicates whether the attribute is multiple or notpublic AttributeDef getAssetid()
public void setAssetid(AttributeDef assetid)
assetid
- the object that contains the object id informationpublic AttributeDef getOrdinal()
public void setOrdinal(AttributeDef ordinal)
ordinal
- the oridnal informationpublic AttributeDef getRequired()
public void setRequired(AttributeDef required)
required
- the required information for the attributepublic boolean isDerivedFlexAttribute()
true
indicates this attribute is a derived attribute in the definition, false
otherwisepublic void setDerivedFlexAttribute(boolean derivedFlexAttribute)
derivedFlexAttribute
- true
indicates this attribute is a derived attribute in the definition, false
otherwisepublic AttributeDefProperties.ValueCount getValueCount()
public void setValueCount(AttributeDefProperties.ValueCount valueCount)
valueCount
- the valuecount for this attribute definitionpublic java.lang.String getAssetType()
public void setAssetType(java.lang.String assetType)
assetType
- the asset type namepublic DependencyTypeEnum getMirrorDepType()
public void setMirrorDepType(DependencyTypeEnum mirrorDepType)
mirrorDepType
- the dependency typepublic java.lang.String getAttributeEditor()
public void setAttributeEditor(java.lang.String attributeEditor)
attributeEditor
- the name of the attribute editorpublic int getSize()
public void setSize(int size)
size
- the size of the attribute datapublic boolean isEditable()
true
indicates the attribute is editable, false
indicates otherwisepublic void setEditable(boolean editable)
editable
- true
indicates the attribute is editable, false
indicates otherwisepublic java.util.Map<java.lang.String,AttributeDef> getDataMap()
public void setDataMap(java.util.Map<java.lang.String,AttributeDef> dataMap)
dataMap
- the datamappublic AttributeDefProperties.EnumData getEnumData()
public void setEnumData(AttributeDefProperties.EnumData enumData)
enumData
- the enum datapublic int getMinRowCount()
public void setMinRowCount(int minRowCount)
minRowCount
- the mininum row countpublic int getMinElementCount()
public void setMinElementCount(int minElementCount)
minElementCount
- the mininum row countpublic java.lang.Number getStartEnum()
public void setStartEnum(java.lang.Number startEnum)
startEnum
- the start enum objectpublic java.lang.Number getEndEnum()
public void setEndEnum(java.lang.Number endEnum)
endEnum
- the end enum objectpublic java.util.Map<java.lang.String,java.lang.String> getAssetRef()
public void setAssetRef(java.util.Map<java.lang.String,java.lang.String> assetRef)
assetRef
- the reference mappublic java.lang.String getUploadDir()
public void setUploadDir(java.lang.String uploadDir)
uploadDir
- the string folder namepublic boolean isAllowEmbeddedLinks()
public void setAllowEmbeddedLinks(boolean allowEmbeddedLinks)
allowEmbeddedLinks
- TRUE
indicates embeddedLinks are allowed, FALSE
indicates otherwisepublic java.lang.String getEditingStyple()
public void setEditingStyple(java.lang.String editingStyple)
editingStyple
- public java.lang.String getStorageStyle()
public void setStorageStyle(java.lang.String storageStyle)
storageStyle
- local or externalpublic java.lang.String getExternalId()
public void setExternalId(java.lang.String externalId)
externalId
- the identifierpublic java.lang.String getExternalCol()
public void setExternalCol(java.lang.String externalCol)
externalCol
- the column name in the external tablepublic java.lang.String getExternalTable()
public void setExternalTable(java.lang.String externalTable)
externalTable
- table namepublic java.lang.String getCharset()
public void setCharset(java.lang.String charset)
charset
- the String form of the charsetpublic java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
contentType
- the String form of the content typepublic java.lang.String getSearchEngineName()
public void setSearchEngineName(java.lang.String searchEngineName)
searchEngineName
- the search engine name (Verity, for example)public java.lang.String getConvertEngine()
public void setConvertEngine(java.lang.String convertEngine)
convertEngine
- public long getAttributeId()
public void setAttributeId(long attributeId)
attributeId
- public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String defaultValue)
defaultValue
- the String format of the default value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |