|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.vc.IterationInfo
Holds an iteration's state as a cookie for client-side operations. The foreign key plus the "latest" boolean gives a system unique criteria for finding a single significant iteration.
Use the newIterationInfo
static factory method(s), not the
IterationInfo
constructor, to construct instances of this
class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
static String |
BRANCH_ID
Label for the attribute; An identifier that uniquely labels an iteration line (i.e., a branch). |
private long |
branchId
|
private static String |
CLASSNAME
|
private WTPrincipalReference |
creator
|
static String |
CREATOR
Label for the attribute; The creator of the Version. |
static long |
EXTERNALIZATION_VERSION_UID
|
private IterationIdentifier |
identifier
|
static String |
IDENTIFIER
Label for the attribute; The iteration's identifier. |
static String |
ITERATED_CLASS
Label for the attribute. |
private Class |
iteratedClass
|
private boolean |
latest
|
static String |
LATEST
Label for the attribute; An indicator of whether or not the iteration is the latest one. |
private WTPrincipalReference |
modifier
|
static String |
MODIFIER
Label for the attribute; The modifier of the business object (i.e., its iteration). |
private String |
note
|
static String |
NOTE
Label for the attribute; The note that documents the creation of the iteration. |
private static int |
NOTE_UPPER_LIMIT
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private ObjectReference |
predecessor
|
static String |
PREDECESSOR
Label for the attribute; The iteration's predecessor. |
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private IterationState |
state
|
static String |
STATE
Label for the attribute. |
private static int |
STATE_UPPER_LIMIT
|
Constructor Summary | |
IterationInfo()
|
Method Summary | |
private void |
creatorValidate(WTPrincipalReference a_Creator)
|
long |
getBranchId()
Gets the value of the attribute: BRANCH_ID. |
ClassInfo |
getClassInfo()
Returns the ClassInfo object for this class. |
String |
getConceptualClassname()
Deprecated. |
WTPrincipalReference |
getCreator()
Gets the object for the association that plays role: CREATOR. |
WTPrincipalReference |
getCreatorOrig()
Gets the value of the attribute: CREATOR. |
IterationIdentifier |
getIdentifier()
Gets the object for the association that plays role: IDENTIFIER. |
Class |
getIteratedClass()
Gets the value of the attribute: ITERATED_CLASS. |
WTPrincipalReference |
getModifier()
Gets the object for the association that plays role: MODIFIER. |
String |
getNote()
Gets the value of the attribute: NOTE. |
ObjectReference |
getPredecessor()
Gets the object for the association that plays role: PREDECESSOR. |
IterationState |
getState()
Gets the object for the association that plays role: STATE. |
private void |
identifierValidate(IterationIdentifier a_Identifier)
|
protected void |
initialize()
Supports initialization, following construction of an instance. |
boolean |
isLatest()
Gets the value of the attribute: LATEST. |
private void |
modifierValidate(WTPrincipalReference a_Modifier)
|
static IterationInfo |
newIterationInfo()
Default factory for the class. |
private void |
noteValidate(String a_Note)
|
private void |
predecessorValidate(ObjectReference a_Predecessor)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(IterationInfo thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
protected void |
setBranchId(long a_BranchId)
Sets the value of the attribute: BRANCH_ID. |
protected void |
setCreator(WTPrincipalReference a_Creator)
Sets the object for the association that plays role: CREATOR. |
protected void |
setIdentifier(IterationIdentifier a_Identifier)
Sets the object for the association that plays role: IDENTIFIER. |
void |
setIteratedClass(Class a_IteratedClass)
Sets the value of the attribute: ITERATED_CLASS. |
protected void |
setLatest(boolean a_Latest)
Sets the value of the attribute: LATEST. |
protected void |
setModifier(WTPrincipalReference a_Modifier)
Sets the object for the association that plays role: MODIFIER. |
protected void |
setNote(String a_Note)
Sets the value of the attribute: NOTE. |
protected void |
setPredecessor(ObjectReference a_Predecessor)
Sets the object for the association that plays role: PREDECESSOR. |
void |
setState(IterationState a_State)
Sets the object for the association that plays role: STATE. |
private void |
stateValidate(IterationState a_State)
|
String |
toString()
Returns the conceptual (modeled) name for the class. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String NOTE
private static int NOTE_UPPER_LIMIT
private String note
public static final String LATEST
private boolean latest
public static final String BRANCH_ID
private long branchId
public static final String ITERATED_CLASS
private Class iteratedClass
public static final String IDENTIFIER
private IterationIdentifier identifier
public static final String MODIFIER
private WTPrincipalReference modifier
public static final String PREDECESSOR
private ObjectReference predecessor
public static final String STATE
private static int STATE_UPPER_LIMIT
private IterationState state
public static final String CREATOR
private WTPrincipalReference creator
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public IterationInfo()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(IterationInfo thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String toString()
public ClassInfo getClassInfo() throws WTIntrospectionException
getClassInfo
in interface NetFactor
WTIntrospectionException
public String getNote()
protected void setNote(String a_Note) throws WTPropertyVetoException
a_Note
-
WTPropertyVetoException
private void noteValidate(String a_Note) throws WTPropertyVetoException
a_Note
-
WTPropertyVetoException
public boolean isLatest()
protected void setLatest(boolean a_Latest) throws WTPropertyVetoException
a_Latest
-
WTPropertyVetoException
public long getBranchId()
protected void setBranchId(long a_BranchId) throws WTPropertyVetoException
a_BranchId
-
WTPropertyVetoException
public Class getIteratedClass()
public void setIteratedClass(Class a_IteratedClass)
a_IteratedClass
- public IterationIdentifier getIdentifier()
protected void setIdentifier(IterationIdentifier a_Identifier) throws WTPropertyVetoException
a_Identifier
-
WTPropertyVetoException
private void identifierValidate(IterationIdentifier a_Identifier) throws WTPropertyVetoException
a_Identifier
-
WTPropertyVetoException
public WTPrincipalReference getModifier()
protected void setModifier(WTPrincipalReference a_Modifier) throws WTPropertyVetoException
a_Modifier
-
WTPropertyVetoException
private void modifierValidate(WTPrincipalReference a_Modifier) throws WTPropertyVetoException
a_Modifier
-
WTPropertyVetoException
public ObjectReference getPredecessor()
protected void setPredecessor(ObjectReference a_Predecessor) throws WTPropertyVetoException
a_Predecessor
-
WTPropertyVetoException
private void predecessorValidate(ObjectReference a_Predecessor) throws WTPropertyVetoException
a_Predecessor
-
WTPropertyVetoException
public IterationState getState()
public void setState(IterationState a_State) throws WTPropertyVetoException
a_State
-
WTPropertyVetoException
private void stateValidate(IterationState a_State) throws WTPropertyVetoException
a_State
-
WTPropertyVetoException
public WTPrincipalReference getCreator()
protected void setCreator(WTPrincipalReference a_Creator) throws WTPropertyVetoException
a_Creator
-
WTPropertyVetoException
private void creatorValidate(WTPrincipalReference a_Creator) throws WTPropertyVetoException
a_Creator
-
WTPropertyVetoException
public WTPrincipalReference getCreatorOrig()
public static IterationInfo newIterationInfo() throws WTException
WTException
protected void initialize() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |