|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.prodmgmt.BuildRuleItem
BuildRuleItem defines a link between a build source BuildSourceItem and a PartItem.
Supported API: false
Extendable: false
PartItem
,
BuildSourceItem
Field Summary | |
private BuildRule |
buildRule
|
private BuildSourceItem |
buildSource
|
private PartItem |
buildTarget
|
private boolean |
modified
|
Constructor Summary | |
BuildRuleItem()
Create an empty BuildRuleItem. |
|
BuildRuleItem(BuildSourceItem buildSource,
PartItem buildTarget)
Create a BuildRuleItem associating the specified BuildSourceItem and PartItem. |
|
BuildRuleItem(BuildSourceItem buildSource,
PartItem buildTarget,
BuildRule buildRule)
Create a BuildRuleItem associating the specified SourceItem and PartItem using the existing BuildRule association. |
Method Summary | |
void |
create()
Create a new BuildRule using the current state of this object. |
void |
delete()
Delete the build rule. |
BuildRule |
getBuildRule()
Get the actual BuildRule association. |
BuildSourceItem |
getBuildSource()
Get the build source |
PartItem |
getBuildTarget()
Return the target PartItem |
boolean |
isModified()
Return the modified flag. |
void |
setBuildRule(BuildRule buildRule)
Set the actual BuildRule association. |
void |
setBuildSource(BuildSourceItem buildSource)
Set the build source |
void |
setBuildTarget(PartItem buildTarget)
Set the build target |
void |
setModified(boolean modified)
Set the modified flag. |
String |
toString()
Return a string for debugging. |
void |
update()
Update the BuildRule using the current state of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private BuildRule buildRule
private boolean modified
private BuildSourceItem buildSource
private PartItem buildTarget
Constructor Detail |
public BuildRuleItem()
public BuildRuleItem(BuildSourceItem buildSource, PartItem buildTarget)
buildSource
- the BuildSource for the partbuildTarget
- the build target PartItempublic BuildRuleItem(BuildSourceItem buildSource, PartItem buildTarget, BuildRule buildRule)
buildSource
- the BuildSourcebuildTarget
- the BuildTargetbuildRule
- the existing BuildRule associationMethod Detail |
public void setModified(boolean modified)
modified
- the new value for the modified flagpublic boolean isModified()
public void create() throws WTException
create
in interface Updateable
WTException
WTException
public void update() throws WTException
update
in interface Updateable
WTException
WTException
public void delete() throws WTException
delete
in interface Updateable
WTException
WTException
public void setBuildRule(BuildRule buildRule)
public BuildRule getBuildRule()
public void setBuildTarget(PartItem buildTarget)
public PartItem getBuildTarget()
public void setBuildSource(BuildSourceItem buildSource)
buildSource
- the build sourcepublic BuildSourceItem getBuildSource()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |