com.ebasetech.ufs.workflow.resource.example
Class EbaseAssignmentExpression

java.lang.Object
  extended by com.ebasetech.ufs.workflow.resource.example.EbaseAssignmentExpression

public class EbaseAssignmentExpression
extends java.lang.Object


Constructor Summary
EbaseAssignmentExpression()
           
EbaseAssignmentExpression(boolean single, java.lang.String groupId, java.lang.String membershipId)
           
EbaseAssignmentExpression(java.lang.String expression)
           
 
Method Summary
 java.lang.String buildExpression()
           
static java.lang.String encode(boolean single, java.lang.String groupId, java.lang.String membershipId)
           
 java.lang.String getExpression()
           
 java.lang.String getGroupId()
           
 java.lang.String getMembershipId()
           
 boolean hasMember()
           
 boolean isMultipleAssignment()
           
 boolean isSingle()
           
 boolean isSingleAssignment()
           
 boolean isValid()
           
 void setExpression(java.lang.String expression)
           
 void setGroupId(java.lang.String groupId)
           
 void setMembershipId(java.lang.String membershipId)
           
 void setSingle(boolean single)
           
 void setValid(boolean valid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EbaseAssignmentExpression

public EbaseAssignmentExpression(java.lang.String expression)
                          throws IllegalAssignmentExpression
Throws:
IllegalAssignmentExpression

EbaseAssignmentExpression

public EbaseAssignmentExpression()

EbaseAssignmentExpression

public EbaseAssignmentExpression(boolean single,
                                 java.lang.String groupId,
                                 java.lang.String membershipId)
Method Detail

getExpression

public java.lang.String getExpression()

setExpression

public void setExpression(java.lang.String expression)
                   throws IllegalAssignmentExpression
Throws:
IllegalAssignmentExpression

isSingleAssignment

public boolean isSingleAssignment()

isMultipleAssignment

public boolean isMultipleAssignment()

getGroupId

public java.lang.String getGroupId()

getMembershipId

public java.lang.String getMembershipId()

encode

public static java.lang.String encode(boolean single,
                                      java.lang.String groupId,
                                      java.lang.String membershipId)

buildExpression

public java.lang.String buildExpression()

hasMember

public boolean hasMember()

isSingle

public boolean isSingle()

setSingle

public void setSingle(boolean single)

isValid

public boolean isValid()

setValid

public void setValid(boolean valid)

setGroupId

public void setGroupId(java.lang.String groupId)

setMembershipId

public void setMembershipId(java.lang.String membershipId)