// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.olio.communication.actions; import java.io.Serializable; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ToStringBuilder; // Referenced classes of package com.olio.communication.actions: // Action public class PhoneCallAction extends com.olio.communication.actions.Action implements Serializable { public static final class Action extends Enum { private static final Action $VALUES[]; public static final Action ANSWER_PHONE_CALL; public static final Action HANGUP; public static final Action MUTE; public static final Action UNMUTE; public static final Action VOICE_CONTROL_START; public static final Action VOICE_CONTROL_STOP; public static Action valueOf(String s) { return (Action)Enum.valueOf(com/olio/communication/actions/PhoneCallAction$Action, s); } public static Action[] values() { return (Action[])$VALUES.clone(); } static { ANSWER_PHONE_CALL = new Action("ANSWER_PHONE_CALL", 0); HANGUP = new Action("HANGUP", 1); MUTE = new Action("MUTE", 2); UNMUTE = new Action("UNMUTE", 3); VOICE_CONTROL_START = new Action("VOICE_CONTROL_START", 4); VOICE_CONTROL_STOP = new Action("VOICE_CONTROL_STOP", 5); $VALUES = (new Action[] { ANSWER_PHONE_CALL, HANGUP, MUTE, UNMUTE, VOICE_CONTROL_START, VOICE_CONTROL_STOP }); } private Action(String s, int i) { super(s, i); } } private static final long serialVersionUID = 5321L; private Action action; public PhoneCallAction() { } public boolean equals(Object obj) { if (obj != null) { if (obj == this) { return true; } if (obj.getClass() == getClass()) { PhoneCallAction phonecallaction = (PhoneCallAction)obj; return (new EqualsBuilder()).appendSuper(super.equals(obj)).append(action, phonecallaction.action).isEquals(); } } return false; } public Action getAction() { return action; } public int hashCode() { return (new HashCodeBuilder()).appendSuper(super.hashCode()).append(action).toHashCode(); } public void setAction(Action action1) { action = action1; } public String toString() { return (new ToStringBuilder(this)).appendSuper(super.toString()).append("Action", action).toString(); } }