public abstract class RBEConfigObjectAttributes
extends java.lang.Object
implements java.lang.Cloneable
RBEConfigObjectAttributes
contains basic attributes of a rulebase configuration objects such as Rulebase, Schedules, or RBMap.
It includes author, last Modification and comment.
When a rulebase configuration object is created, the author and last modification attributes should be set. These two attributes should also be updated when the rulebase configuration object is changed.
When comparing rulebase configuration objects, these attributes are not taken into consideration. For example, two schedules having identical list of schedules but have different comments and last modification are consider equal.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone a copy of this object
|
static java.lang.String |
constructChangedStamp()
A convenient method to create a time stampt for setting last modification record.
|
java.lang.String |
getAuthor()
Returns the author of this rulebase configuration object.
|
java.lang.String |
getComment()
Returns the comment of this rulebase configuration object.
|
java.lang.String |
getLastModification()
Returns the last modification record of this rulebase configuration object.
|
void |
setAuthor(java.lang.String name)
Sets the author this rulebase configuration object.
|
void |
setComment(java.lang.String name)
Sets the comment of this rulebase configuration object.
|
void |
setLastModification(java.lang.String timeStamp)
Sets the last modification record this rulebase configuration object.
|
public void setAuthor(java.lang.String name)
public void setLastModification(java.lang.String timeStamp)
public void setComment(java.lang.String name)
public java.lang.String getAuthor()
public java.lang.String getLastModification()
public java.lang.String getComment()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public static java.lang.String constructChangedStamp()
userName on host hostName at HH:mm EE, MMM d, yyyywhere userName is from the system properry user.name, and hostName is the name from the machine where the JVM is running.
Copyright © 2000-2019 TIBCO Inc. All Rights Reserved.