@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 PartLink
public boolean isOptional()
isOptional
in interface PartLink
public PartMaster getComponent()
getComponent
in interface PartLink
public List<PartSubstituteLink> getSubstitutes()
getSubstitutes
in interface PartLink
public String getReferenceDescription()
getReferenceDescription
in interface PartLink
public PartMaster getSubstitute()
public List<CADInstance> getCadInstances()
getCadInstances
in interface PartLink
public 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.