public abstract class InputParserDecoratorMsg extends java.lang.Object implements InputParserMsg
Constructor and Description |
---|
InputParserDecoratorMsg(InputParserMsg decorated)
Creates a new InputParserDecoratorMsg instance, which wraps decorated as stated
by Decorator pattern.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getExtendedMsg()
Gets the extension of the message
|
MsgInterval |
getInterval()
Gets the message interval
|
java.lang.String |
getMessage()
Gets the contained message
|
java.lang.String |
getType()
Gets the type of the contained message
|
int |
getVerbosityLevel()
Gets the verbosity level of the message
|
boolean |
hasExtendedMsg()
Gets a boolean which represents if the message has an extended info which complements it
|
int |
hashCode() |
boolean |
hasInterval()
Returns a boolean which represents if the message has a specific interval, it is, a defined piece of code which the messages refers to
|
java.lang.String |
toString() |
public InputParserDecoratorMsg(InputParserMsg decorated)
decorated
- the InputParserMsg instance to be wrappedpublic java.lang.String getMessage()
InputParserMsg
getMessage
in interface InputParserMsg
InputParserMsg.getMessage()
public java.lang.String getType()
InputParserMsg
getType
in interface InputParserMsg
InputParserMsg.getType()
public java.lang.String getExtendedMsg()
InputParserMsg
getExtendedMsg
in interface InputParserMsg
InputParserMsg.getExtendedMsg()
public MsgInterval getInterval()
InputParserMsg
getInterval
in interface InputParserMsg
InputParserMsg.getInterval()
public boolean hasExtendedMsg()
InputParserMsg
hasExtendedMsg
in interface InputParserMsg
InputParserMsg.hasExtendedMsg()
public boolean hasInterval()
InputParserMsg
hasInterval
in interface InputParserMsg
InputParserMsg.hasInterval()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int getVerbosityLevel()
InputParserMsg
getVerbosityLevel
in interface InputParserMsg
InputParserMsg.getVerbosityLevel()