com.francetelecom.admindm.model
Class EventStruct

java.lang.Object
  extended by com.francetelecom.admindm.model.EventStruct
All Implemented Interfaces:
java.io.Serializable

public final class EventStruct
extends java.lang.Object
implements java.io.Serializable

The Class EventStruct.

Author:
Olivier Beyler - OrangeLabs -
See Also:
Serialized Form

Constructor Summary
EventStruct(java.lang.String ec, java.lang.String ck)
          Creates a new event structure.
 
Method Summary
 org.kxml2.kdom.Element encoded()
          Encoded.
 boolean equals(java.lang.Object obj)
          Equals.
 java.lang.String getCommandKey()
          Gets the command key.
 java.lang.String getEventCode()
          Gets the event code.
 int hashCode()
          Hash code.
 void setCommandKey(java.lang.String pCommandKey)
          Sets the command key.
 void setEventCode(java.lang.String pEventCode)
          Sets the event code.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventStruct

public EventStruct(java.lang.String ec,
                   java.lang.String ck)
Creates a new event structure.

Parameters:
ec - An event code
ck - A command key
Method Detail

getEventCode

public java.lang.String getEventCode()
Gets the event code.

Returns:
the event code

setEventCode

public void setEventCode(java.lang.String pEventCode)
Sets the event code.

Parameters:
pEventCode - the new event code

getCommandKey

public java.lang.String getCommandKey()
Gets the command key.

Returns:
the command key

setCommandKey

public void setCommandKey(java.lang.String pCommandKey)
Sets the command key.

Parameters:
pCommandKey - the new command key

encoded

public org.kxml2.kdom.Element encoded()
Encoded.

Returns:
element

hashCode

public int hashCode()
Hash code.

Overrides:
hashCode in class java.lang.Object
Returns:
the int
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object obj)
Equals.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the obj
Returns:
true, if equals
See Also:
Object.equals(java.lang.Object)


Copyright © 2011 FranceTelecom. All Rights Reserved.