|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.epm.build.EPMDefaultBuildLinksDelegate
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
EPMDefaultBuildLinksDelegate()
|
Method Summary | |
WTPartUsageLink |
createNewLink(WTPart parent,
WTPartMaster childMaster,
BuildReference buildReference,
Quantity quantity)
Creates a new "built" part usage link between the given Part and PartMaster. |
PartUsesOccurrence |
createNewOccurrence(WTPartUsageLink link,
EPMUsesOccurrence sourceOccurrence,
String applicationTag)
Creates a new "built" part uses occurrence on the given part usage link for the given epm uses occurrence. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
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(EPMDefaultBuildLinksDelegate thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
WTPartUsageLink |
subsumeNonBuiltLink(QueryResult links,
BuildReference buildReference,
Quantity quantity)
This method replaces a "non built" part usage link with a "built" part usage link. |
QueryResult |
subsumeNonBuiltOccurrences(QueryResult nonBuiltOccurrences,
QueryResult sourceOccurrences,
String applicationTag)
Replaces "non built" part uses occurrences with "built" part uses occurrences. |
protected PartUsesOccurrence |
subsumeOccurrence(PartUsesOccurrence nonBuilt,
EPMUsesOccurrence source,
String applicationTag)
|
boolean |
updateBuiltLink(WTPartUsageLink link,
Quantity newQuantity)
This method updates an existing "built" part usage link. |
PartUsesOccurrence |
updateBuiltOccurrence(PartUsesOccurrence builtOccurrence,
EPMUsesOccurrence sourceOccurrence)
Updates an existing "built" part uses occurrence such that it reflects any changes made to the source uses occurrence that it was built from. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public EPMDefaultBuildLinksDelegate()
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(EPMDefaultBuildLinksDelegate 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 WTPartUsageLink createNewLink(WTPart parent, WTPartMaster childMaster, BuildReference buildReference, Quantity quantity) throws WTException
createNewLink
in interface EPMBuildLinksDelegate
parent
- childMaster
- buildReference
- quantity
-
WTException
public boolean updateBuiltLink(WTPartUsageLink link, Quantity newQuantity) throws WTException
updateBuiltLink
in interface EPMBuildLinksDelegate
link
- newQuantity
-
WTException
public WTPartUsageLink subsumeNonBuiltLink(QueryResult links, BuildReference buildReference, Quantity quantity) throws WTException
subsumeNonBuiltLink
in interface EPMBuildLinksDelegate
links
- buildReference
- quantity
-
WTException
public PartUsesOccurrence createNewOccurrence(WTPartUsageLink link, EPMUsesOccurrence sourceOccurrence, String applicationTag) throws WTException
createNewOccurrence
in interface EPMBuildLinksDelegate
link
- sourceOccurrence
- applicationTag
- identifies the application or build rule that initiated the "build"
WTException
public PartUsesOccurrence updateBuiltOccurrence(PartUsesOccurrence builtOccurrence, EPMUsesOccurrence sourceOccurrence) throws WTException
updateBuiltOccurrence
in interface EPMBuildLinksDelegate
builtOccurrence
- "built" part uses occurrence to updatesourceOccurrence
- uses occurrence that the given part uses occurrence was "built" from
WTException
public QueryResult subsumeNonBuiltOccurrences(QueryResult nonBuiltOccurrences, QueryResult sourceOccurrences, String applicationTag) throws WTException
subsumeNonBuiltOccurrences
in interface EPMBuildLinksDelegate
nonBuiltOccurrences
- list of "non built" part uses occurrences to subsumesourceOccurrences
- list of uses occurrences to create "built" part uses occurrences forapplicationTag
- identifies the application or build rule that initiated the "build"
WTException
protected PartUsesOccurrence subsumeOccurrence(PartUsesOccurrence nonBuilt, EPMUsesOccurrence source, String applicationTag) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |