Class StringList
- java.lang.Object
-
- com.priint.pubserver.comet.bridge.entitydata.Comet3EntityData
-
- com.priint.pubserver.comet.bridge.entitydata.StringList
-
- All Implemented Interfaces:
java.io.Serializable
public class StringList extends Comet3EntityData
The type String list.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStringList.StringListAttributeThe enum String list attribute.
-
Constructor Summary
Constructors Constructor Description StringList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.String value)Add.voidclear()Clear.java.lang.Stringget(Comet3Attribute attr)Unlike the super class get-method, this method may only be invoked in the toStringList context.Comet3Attribute[]getAttributes()Get attributes comet 3 attribute [ ].java.lang.StringgetContent()Gets content.voidset(Comet3Attribute attr, java.lang.String value)Set.voidsetContent(java.lang.String content)Sets content.java.util.List<java.lang.String>toStringList()To string list list.-
Methods inherited from class com.priint.pubserver.comet.bridge.entitydata.Comet3EntityData
getAsObject, setAsObject
-
-
-
-
Method Detail
-
getAttributes
public Comet3Attribute[] getAttributes()
Description copied from class:Comet3EntityDataGet attributes comet 3 attribute [ ].- Specified by:
getAttributesin classComet3EntityData- Returns:
- the comet 3 attribute [ ]
-
clear
public void clear()
Clear.
-
add
public void add(java.lang.String value)
Add.- Parameters:
value- the value
-
set
public void set(Comet3Attribute attr, java.lang.String value)
Description copied from class:Comet3EntityDataSet.- Overrides:
setin classComet3EntityData- Parameters:
attr- the attrvalue- the value
-
get
public java.lang.String get(Comet3Attribute attr)
Unlike the super class get-method, this method may only be invoked in the toStringList context.- Overrides:
getin classComet3EntityData- Parameters:
attr- the attr- Returns:
- the string
-
toStringList
public java.util.List<java.lang.String> toStringList()
Description copied from class:Comet3EntityDataTo string list list.- Overrides:
toStringListin classComet3EntityData- Returns:
- the list
-
getContent
public java.lang.String getContent()
Description copied from class:Comet3EntityDataGets content.- Specified by:
getContentin classComet3EntityData- Returns:
- the content
-
setContent
public void setContent(java.lang.String content)
Description copied from class:Comet3EntityDataSets content.- Specified by:
setContentin classComet3EntityData- Parameters:
content- the content
-
-