public class CSElement extends AssetSetup
Constructor and Description |
---|
CSElement(java.lang.String name,
java.lang.Class<?> elementClass)
Create a CSElement invoking the given elementClass
|
CSElement(java.lang.String name,
java.lang.Class<?> elementClass,
AssetSetup nextSetup)
Create a cselement with a chained asset setup
|
CSElement(java.lang.String name,
java.lang.Class<?> elementClass,
java.lang.String elementName)
Create invoking the given elementClass with a specifice elementName
(useful for fixed elements like attribute editors)
|
Modifier and Type | Method and Description |
---|---|
AssetSetup |
description(java.lang.String description)
Fluent description setter
|
java.util.List<java.lang.String> |
getAttributes()
Return a list of expected attributes
|
java.lang.String |
getElementName() |
getName, getNextSetup, setCid, setNextSetup, setTypeSubtype
dump, getC, getCid, getDescription, getEndDate, getFilename, getId, getPath, getSite, getStartDate, getSubtype, getTemplate, init, setDescription, toString
public CSElement(java.lang.String name, java.lang.Class<?> elementClass)
name
- elementClass
- public CSElement(java.lang.String name, java.lang.Class<?> elementClass, java.lang.String elementName)
public CSElement(java.lang.String name, java.lang.Class<?> elementClass, AssetSetup nextSetup)
public java.lang.String getElementName()
public java.util.List<java.lang.String> getAttributes()
AssetSetup
public AssetSetup description(java.lang.String description)
description
-