Package org.mustangproject
Class DesignatedProductClassification
- java.lang.Object
-
- org.mustangproject.DesignatedProductClassification
-
- All Implemented Interfaces:
IDesignatedProductClassification
public class DesignatedProductClassification extends java.lang.Object implements IDesignatedProductClassification
An implementation ofIDesignatedProductClassificationfor describing aProduct
-
-
Constructor Summary
Constructors Constructor Description DesignatedProductClassification()Bean constructor for schemed product descriptorDesignatedProductClassification(ClassCode classCode)A schemed product descriptorDesignatedProductClassification(ClassCode classCode, java.lang.String className)A schemed product descriptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassCodegetClassCode()Classification codejava.lang.StringgetClassName()an optional, human-readable description of the classifcation codevoidsetClassName(java.lang.String className)Set the human-readable name of the class code
-
-
-
Constructor Detail
-
DesignatedProductClassification
public DesignatedProductClassification(ClassCode classCode, java.lang.String className)
A schemed product descriptor- Parameters:
classCode- an UNTDID 7143 schemed class codeclassName- a verbal description of the class code
-
DesignatedProductClassification
public DesignatedProductClassification(ClassCode classCode)
A schemed product descriptor- Parameters:
classCode- an UNTDID 7143 schemed class code
-
DesignatedProductClassification
public DesignatedProductClassification()
Bean constructor for schemed product descriptor
-
-
Method Detail
-
getClassCode
public ClassCode getClassCode()
Description copied from interface:IDesignatedProductClassificationClassification code- Specified by:
getClassCodein interfaceIDesignatedProductClassification- Returns:
- the classification code
-
getClassName
public java.lang.String getClassName()
Description copied from interface:IDesignatedProductClassificationan optional, human-readable description of the classifcation code- Specified by:
getClassNamein interfaceIDesignatedProductClassification- Returns:
- the name or
nullif not set
-
setClassName
public void setClassName(java.lang.String className)
Set the human-readable name of the class code- Parameters:
className- the name of the class code (can benull)
-
-