|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.job.model.JobDataComponent
public abstract class JobDataComponent
Superclass for data objects at various levels in the job data structure. Handles the guid, name, type, and configurable data properties.
| Constructor Summary | |
|---|---|
JobDataComponent()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
copy()
Deep-copies the object. |
void |
copyStateFrom(java.lang.Object nother)
Subclass homework; copies state from other object. |
void |
generateGuid()
Creates a new guid for this component. |
abstract void |
generateID()
Subclass homework. |
void |
generateStandardIDs()
Generates a new guid, id, and sets the name to the new id. |
Cog |
getData()
Gets the value of data |
java.lang.String |
getGuid()
Gets the value of guid |
int |
getID()
|
java.lang.String |
getName()
Gets the value of name |
Cog |
getState()
Subclasses extend this by calling super.getState() and then adding their own state to the result. |
java.lang.String |
getType()
Gets the value of type |
abstract void |
remove()
More subclass homework. |
void |
setData(Cog argData)
Sets the value of data |
void |
setGuid(java.lang.String argGuid)
Sets the value of guid |
void |
setID(int newID)
|
void |
setName(java.lang.String argName)
Sets the value of name |
void |
setState(Cog state)
Subclasses should extend this by calling super.setState() and then setting their own state from the input. |
void |
setType(java.lang.String argType)
Sets the value of type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobDataComponent()
| Method Detail |
|---|
public void generateStandardIDs()
public void generateGuid()
public java.lang.Object copy()
public void copyStateFrom(java.lang.Object nother)
public abstract void remove()
public abstract void generateID()
public Cog getState()
getState in interface Coggablepublic void setState(Cog state)
setState in interface Coggablepublic java.lang.String getName()
public void setName(java.lang.String argName)
argName - Value to assign to this.namepublic java.lang.String getGuid()
public void setGuid(java.lang.String argGuid)
argGuid - Value to assign to this.guidpublic java.lang.String getType()
public void setType(java.lang.String argType)
argType - Value to assign to this.typepublic Cog getData()
public void setData(Cog argData)
argData - Value to assign to this.datapublic int getID()
public void setID(int newID)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||