|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.etai.xat2v2.util.PartUtil
public final class PartUtil
| Method Summary | |
|---|---|
static void |
addCommentByType(Part part,
String ref,
String comment)
Adds a classified comment to the part |
static void |
addDescriptionByType(Part part,
String ref,
String description)
|
static String |
getComment(Part part)
Returns the non classified comment of the part |
static Classification[] |
getCommentListByType(Part part,
String ref)
Returns the part's comments matching the ref in the ETAI:commentType dictionary |
static Classification[] |
getDescriptionListByType(Part part,
String ref)
|
static Classification[] |
getReferenceListBySource(Part part,
String source)
Returns the part references matching the source given. |
static Price[] |
getUnitPriceList(Part part)
Returns all the unit prices of this part |
static boolean |
matchBreakdown(Part part,
String dictionary,
String ref)
|
static void |
setComment(Part part,
String comment)
Sets the non classified comment of the part |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean matchBreakdown(Part part,
String dictionary,
String ref)
part - dictionary - ref -
public static Classification[] getReferenceListBySource(Part part,
String source)
part - source -
public static Price[] getUnitPriceList(Part part)
part -
public static String getComment(Part part)
part -
public static void setComment(Part part,
String comment)
part - comment -
public static Classification[] getCommentListByType(Part part,
String ref)
part - ref -
public static void addCommentByType(Part part,
String ref,
String comment)
part - ref - comment -
public static Classification[] getDescriptionListByType(Part part,
String ref)
part - ref -
public static void addDescriptionByType(Part part,
String ref,
String description)
part - ref - description -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||