atg.purge.condition
Class SimpleRelatedCondition

java.lang.Object
  extended by atg.purge.condition.SimpleRelatedCondition
All Implemented Interfaces:
atg.purge.condition.RelatedCondition, java.lang.Cloneable

public class SimpleRelatedCondition
extends java.lang.Object
implements atg.purge.condition.RelatedCondition

Simple related condition implementation


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
SimpleRelatedCondition()
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getDefaultName()
          Returns default name for condition
 java.lang.String getDisplayKey()
          Returns display key for condition
 java.lang.String getDisplayName()
          Returns display name for condition
 java.lang.String getParameterName()
          Returns parameter name for condition
 java.lang.String getParameterValue()
          Returns parameter value for condition
 boolean isEditable()
          Check whether condition is editable
 boolean isEnabled()
          Check whether condition is enabled
 void setDefaultName(java.lang.String pDefaultName)
          Sets property defaultName
 void setDisplayKey(java.lang.String pDisplayKey)
          Sets property displayKey
 void setEditable(boolean pEditable)
          Sets property editable
 void setEnabled(boolean pEnabled)
          Sets property enabled
 void setParameterName(java.lang.String pParameterName)
          Sets property parameterName
 void setParameterValue(java.lang.String pParameterValue)
          Sets property parameterValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

SimpleRelatedCondition

public SimpleRelatedCondition()
Method Detail

isEnabled

public boolean isEnabled()
Check whether condition is enabled

Specified by:
isEnabled in interface atg.purge.condition.RelatedCondition
Returns:
true if condition is enabled, false otherwise

setEnabled

public void setEnabled(boolean pEnabled)
Sets property enabled

Parameters:
pEnabled - enable/disable condition

isEditable

public boolean isEditable()
Check whether condition is editable

Specified by:
isEditable in interface atg.purge.condition.RelatedCondition
Returns:
true if condition is editable, false otherwise

setEditable

public void setEditable(boolean pEditable)
Sets property editable

Parameters:
pEditable - editable value for condition

getDefaultName

public java.lang.String getDefaultName()
Returns default name for condition

Returns:
the default name for condition

setDefaultName

public void setDefaultName(java.lang.String pDefaultName)
Sets property defaultName

Parameters:
pDefaultName - the default name for condition

getDisplayKey

public java.lang.String getDisplayKey()
Returns display key for condition

Returns:
the display key for condition

setDisplayKey

public void setDisplayKey(java.lang.String pDisplayKey)
Sets property displayKey

Parameters:
pDisplayKey - the display key for condition

getParameterName

public java.lang.String getParameterName()
Returns parameter name for condition

Specified by:
getParameterName in interface atg.purge.condition.RelatedCondition
Returns:
the parameter name for condition

setParameterName

public void setParameterName(java.lang.String pParameterName)
Sets property parameterName

Parameters:
pParameterName - the parameter name for condition

getParameterValue

public java.lang.String getParameterValue()
Returns parameter value for condition

Specified by:
getParameterValue in interface atg.purge.condition.RelatedCondition
Returns:
the parameter value for condition

setParameterValue

public void setParameterValue(java.lang.String pParameterValue)
Sets property parameterValue

Parameters:
pParameterValue - the parameter value for condition

getDisplayName

public java.lang.String getDisplayName()
Returns display name for condition

Specified by:
getDisplayName in interface atg.purge.condition.RelatedCondition
Returns:
the display name for condition

clone

public java.lang.Object clone()
Specified by:
clone in interface atg.purge.condition.RelatedCondition
Overrides:
clone in class java.lang.Object