Class Message
java.lang.Object
com.priint.pubserver.tagging.TaggingObject
com.priint.pubserver.comet.bridge.Comet3Entity
com.priint.pubserver.comet3.entity.Message
- All Implemented Interfaces:
Serializable
Java Interface for message complex type. For internal use only
The following schema fragment specifies the expected content contained within this class.
<complexType name="message">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
<element name="translation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T> -
Field Summary
Fields inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
id, timestampFields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Gets key.Gets translation.voidSets key.voidsetTranslation(String translation) Sets translation.Methods inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
entityEquals, entityEquals, getId, getLastModificationTimestamp, info, postprocess, setId, setLastModificationTimestampMethods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
Constructor Details
-
Message
public Message()Instantiates a new Message. -
Message
public Message(int id) Instantiates a new Message.- Parameters:
id- the id
-
-
Method Details
-
getKey
Gets key.- Returns:
- the key
-
setKey
Sets key.- Parameters:
key- the key
-
getTranslation
Gets translation.- Returns:
- the translation
-
setTranslation
Sets translation.- Parameters:
translation- the translation
-