@Entity public class PartSubstituteLink extends Object implements Serializable, Cloneable, PartLink
PartUsageLink
to indicate a replacement part that could be used instead.| Constructor and Description |
|---|
PartSubstituteLink() |
| Modifier and Type | Method and Description |
|---|---|
PartSubstituteLink |
clone() |
double |
getAmount() |
List<CADInstance> |
getCadInstances() |
Character |
getCode() |
String |
getComment() |
PartMaster |
getComponent() |
String |
getFullId() |
int |
getId() |
String |
getReferenceDescription() |
PartMaster |
getSubstitute() |
List<PartSubstituteLink> |
getSubstitutes() |
String |
getUnit() |
boolean |
isOptional() |
void |
setAmount(double amount) |
void |
setCadInstances(List<CADInstance> cadInstances) |
void |
setComment(String comment) |
void |
setId(int id) |
void |
setReferenceDescription(String referenceDescription) |
void |
setSubstitute(PartMaster substitute) |
void |
setUnit(String unit) |
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 PartMaster getSubstitute()
public 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 setSubstitute(PartMaster substitute)
public void setCadInstances(List<CADInstance> cadInstances)
public PartSubstituteLink clone()
Copyright © 2017 DocDoku. All rights reserved.