public class ExcelCell extends java.lang.Object implements SendableEntityCreatorTag, EntityList
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
PROPERTIES |
static java.lang.String |
PROPERTY_REFERENZ |
static java.lang.String |
PROPERTY_STYLE |
static java.lang.String |
PROPERTY_TYPE |
static java.lang.String |
TAG |
| Constructor and Description |
|---|
ExcelCell() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<java.lang.Object> |
comparator() |
SimpleList<EntityList> |
getChildren() |
java.lang.Object |
getContent() |
java.lang.String |
getContentAsString() |
BaseItem |
getNewList(boolean keyValue) |
java.lang.String[] |
getProperties()
Gets the properties.
|
ExcelCell |
getReferenceCell() |
Pos |
getReferenz() |
java.lang.Object |
getSendableInstance(boolean prototyp)
Gets the sendable instance.
|
java.lang.String |
getStyle() |
java.lang.String |
getTag()
Gets the tag of the XML Entity.
|
java.lang.String |
getType() |
java.lang.Object |
getValue(java.lang.Object entity,
java.lang.String attribute)
Gets the value.
|
boolean |
isComparator() |
boolean |
setContent(java.lang.Object value) |
boolean |
setReferenceCell(ExcelCell value) |
boolean |
setStyle(java.lang.String value) |
boolean |
setType(java.lang.String value) |
boolean |
setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
Sets the value.
|
int |
size() |
java.lang.String |
toString() |
java.lang.String |
toString(Converter converter) |
java.lang.String |
toString(int indentFactor)
Make a prettyprinted Text of this Entity.
|
protected java.lang.String |
toString(int indentFactor,
int indent) |
ExcelCell |
with(java.lang.Object... values)
Add Elements to List or KeyValue
if param Modulo 2 the Params can be Key,Value
or add all Values to List
|
ExcelCell |
withContent(java.lang.Object value) |
ExcelCell |
withReferenz(Pos referenz) |
BaseItem |
withValue(Buffer values) |
public static final java.lang.String TAG
public static final java.lang.String PROPERTY_STYLE
public static final java.lang.String PROPERTY_TYPE
public static final java.lang.String PROPERTY_REFERENZ
public static final java.lang.String[] PROPERTIES
public java.lang.String[] getProperties()
SendableEntityCreatorgetProperties in interface SendableEntityCreatorpublic java.lang.Object getValue(java.lang.Object entity,
java.lang.String attribute)
SendableEntityCreatorgetValue in interface SendableEntityCreatorentity - the entityattribute - the attributepublic boolean setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
SendableEntityCreatorsetValue in interface SendableEntityCreatorentity - the entityattribute - the attributevalue - the valuetype - edit, update or remove operationpublic java.lang.Object getSendableInstance(boolean prototyp)
SendableEntityCreatorgetSendableInstance in interface SendableEntityCreatorprototyp - the prototyppublic java.lang.String getTag()
SendableEntityCreatorTaggetTag in interface SendableEntityCreatorTagpublic Pos getReferenz()
public java.lang.String getType()
public java.lang.String getStyle()
public java.lang.Object getContent()
public java.lang.String getContentAsString()
public boolean setContent(java.lang.Object value)
public ExcelCell withContent(java.lang.Object value)
public ExcelCell getReferenceCell()
public boolean setStyle(java.lang.String value)
public boolean setType(java.lang.String value)
public java.lang.String toString()
public java.lang.String toString(int indentFactor)
EntityListWarning: This method assumes that the data structure is acyclical.
toString in interface EntityListindentFactor - The number of spaces to add to each level of indentation.{ (left
brace) and ending with } (right
brace).protected java.lang.String toString(int indentFactor,
int indent)
public java.lang.String toString(Converter converter)
public ExcelCell with(java.lang.Object... values)
BaseItempublic BaseItem getNewList(boolean keyValue)
getNewList in interface BaseItempublic SimpleList<EntityList> getChildren()
getChildren in interface EntityListpublic int size()
size in interface EntityListpublic boolean setReferenceCell(ExcelCell value)
public boolean isComparator()
isComparator in interface EntityListpublic java.util.Comparator<java.lang.Object> comparator()
comparator in interface EntityListpublic BaseItem withValue(Buffer values)
withValue in interface EntityList