Class SimpleString
- java.lang.Object
-
- com.priint.pubserver.comet.bridge.entitydata.Comet3EntityData
-
- com.priint.pubserver.comet.bridge.entitydata.SimpleString
-
- All Implemented Interfaces:
java.io.Serializable
public class SimpleString extends Comet3EntityData
The type Simple string.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSimpleString.SimpleStringAttributeThe enum Simple string attribute.
-
Constructor Summary
Constructors Constructor Description SimpleString(java.lang.String value)Instantiates a new Simple string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringget()Get string.java.lang.Stringget(Comet3Attribute attr)Get string.Comet3Attribute[]getAttributes()Get attributes comet 3 attribute [ ].java.lang.StringgetContent()Gets content.voidset(Comet3Attribute attr, java.lang.String value)Set.voidset(java.lang.String value)Set.voidsetContent(java.lang.String content)Sets content.-
Methods inherited from class com.priint.pubserver.comet.bridge.entitydata.Comet3EntityData
getAsObject, setAsObject, toStringList
-
-
-
-
Method Detail
-
getAttributes
public Comet3Attribute[] getAttributes()
Description copied from class:Comet3EntityDataGet attributes comet 3 attribute [ ].- Specified by:
getAttributesin classComet3EntityData- Returns:
- the comet 3 attribute [ ]
-
set
public void set(java.lang.String value)
Set.- 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()
Get string.- Returns:
- the string
-
get
public java.lang.String get(Comet3Attribute attr)
Description copied from class:Comet3EntityDataGet string.- Overrides:
getin classComet3EntityData- Parameters:
attr- the attr- Returns:
- the string
-
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
-
-