Agentflow
V3.1

pe.pase
Class DeputyRule

java.lang.Object
  extended by pe.pase.DeputyRule
All Implemented Interfaces:
java.io.Serializable

public class DeputyRule
extends java.lang.Object
implements java.io.Serializable

The class holds the information of deputy rule. The MemberID field records the member's id. The DeputyMemberID field records the id of deputy member of the member. The Rule field records the rule that start up the deputy function. The Synopsis field records the synopsis of the member.

Version:
1.1.5,
Author:
Jen-Der Wei
See Also:
Serialized Form

Constructor Summary
DeputyRule()
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Make a copy of the DeputyRule object
 java.lang.String getDeputyCName()
          Get the deputy member CName
 java.lang.String getDeputyID()
          Get the deputy member id
 int getDeputyOrder()
           
 java.lang.String getMemID()
          Get the member id
 java.lang.String getRule()
          Get the rule
 java.lang.String getSynopsis()
          Get the synopsis
 boolean isEnabled()
          Check the rule enabled
 void setDeputyCName(java.lang.String cName)
          Set the deputy member CName
 void setDeputyID(java.lang.String id)
          Set the deputy member id
 void setDeputyOrder(int deputyOrder)
           
 void setEnabled(boolean b)
          Set the rule enable or disable
 void setMemID(java.lang.String id)
          Set the member ID
 void setRule(java.lang.String r)
          Set the rule
 void setSynopsis(java.lang.String s)
          Set the synopsis
 void update(DeputyRule deputyRule)
          Update the data of the instance of DeputyRule
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeputyRule

public DeputyRule()
Constructor. Construct a instance of DeputyRule without parameters.

Since:
version 1.1.0
Method Detail

clone

public java.lang.Object clone()
Make a copy of the DeputyRule object

Overrides:
clone in class java.lang.Object
Returns:
the object
Since:
version 1.1.0

getDeputyCName

public java.lang.String getDeputyCName()
Get the deputy member CName

Returns:
the deputy member id
Since:
version 1.1.0

getDeputyID

public java.lang.String getDeputyID()
Get the deputy member id

Returns:
the deputy member id
Since:
version 1.1.0

getDeputyOrder

public int getDeputyOrder()

getMemID

public java.lang.String getMemID()
Get the member id

Returns:
the member id
Since:
version 1.1.0

getRule

public java.lang.String getRule()
Get the rule

Returns:
the rule
Since:
version 1.1.0

getSynopsis

public java.lang.String getSynopsis()
Get the synopsis

Returns:
the synopsis
Since:
version 1.1.0

isEnabled

public boolean isEnabled()
Check the rule enabled

Returns:
true if the rule is enabled; false otherwise
Since:
version 1.1.0

setDeputyCName

public void setDeputyCName(java.lang.String cName)
Set the deputy member CName

Parameters:
id - the given deputy member id
Since:
version 1.1.0

setDeputyID

public void setDeputyID(java.lang.String id)
Set the deputy member id

Parameters:
id - the given deputy member id
Since:
version 1.1.0

setDeputyOrder

public void setDeputyOrder(int deputyOrder)

setEnabled

public void setEnabled(boolean b)
Set the rule enable or disable

Parameters:
b - the given boolean value
Since:
version 1.1.0

setMemID

public void setMemID(java.lang.String id)
Set the member ID

Parameters:
id - the given member id
Since:
version 1.1.0

setRule

public void setRule(java.lang.String r)
Set the rule

Parameters:
r - the given rule
Since:
version 1.1.0

setSynopsis

public void setSynopsis(java.lang.String s)
Set the synopsis

Parameters:
s - the given synopsis
Since:
version 1.1.0

update

public void update(DeputyRule deputyRule)
Update the data of the instance of DeputyRule

Parameters:
deputyRule - the given new deputy rule
Since:
version 1.1.0

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.