@Entity public class PartUsageLink extends Object implements Serializable, Cloneable, PartLink
PartIteration
and a part represented as PartMaster.| Constructor and Description |
|---|
PartUsageLink() |
PartUsageLink(PartMaster pComponent,
double pAmount,
String pUnit,
boolean pOptional) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubstitute(PartSubstituteLink partSubstituteLink) |
PartUsageLink |
clone() |
double |
getAmount() |
List<CADInstance> |
getCadInstances() |
Character |
getCode() |
String |
getComment() |
PartMaster |
getComponent() |
String |
getFullId() |
int |
getId() |
String |
getReferenceDescription() |
List<PartSubstituteLink> |
getSubstitutes() |
String |
getUnit() |
boolean |
isOptional() |
void |
setAmount(double amount) |
void |
setCadInstances(List<CADInstance> cadInstances) |
void |
setComment(String comment) |
void |
setComponent(PartMaster component) |
void |
setId(int id) |
void |
setOptional(boolean optional) |
void |
setReferenceDescription(String referenceDescription) |
void |
setSubstitutes(List<PartSubstituteLink> substitutes) |
void |
setUnit(String unit) |
public PartUsageLink()
public PartUsageLink(PartMaster pComponent, double pAmount, String pUnit, boolean pOptional)
public String getComment()
getComment in interface PartLinkpublic boolean isOptional()
isOptional in interface PartLinkpublic PartMaster getComponent()
getComponent in interface PartLinkpublic List<PartSubstituteLink> getSubstitutes()
getSubstitutes in interface PartLinkpublic String getReferenceDescription()
getReferenceDescription in interface PartLinkpublic List<CADInstance> getCadInstances()
getCadInstances in interface PartLinkpublic void setId(int id)
public void setAmount(double amount)
public void setUnit(String unit)
public void setReferenceDescription(String referenceDescription)
public void setComment(String comment)
public void setComponent(PartMaster component)
public void setSubstitutes(List<PartSubstituteLink> substitutes)
public void setCadInstances(List<CADInstance> cadInstances)
public void setOptional(boolean optional)
public void addSubstitute(PartSubstituteLink partSubstituteLink)
public PartUsageLink clone()
Copyright © 2017 DocDoku. All rights reserved.