public abstract class AbstractPaper extends Object implements Paper, Serializable
Paper.Type
FactoryProperties.ComparatorBuilder
Constructor and Description |
---|
AbstractPaper(String name,
String desc,
String identifier)
Creates a new paper.
|
Modifier and Type | Method and Description |
---|---|
RollPaper |
asRollPaper()
Returns this Paper as a RollPaper
|
SheetPaper |
asSheetPaper()
Returns this Paper as a SheetPaper
|
TractorPaper |
asTractorPaper()
Returns this Paper as a TractorPaper
|
String |
getDescription()
Gets the description for this Factory
|
String |
getDisplayName()
Gets the display name for this Factory
|
String |
getIdentifier()
Gets the identifier for this Factory
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newComparatorBuilder
public String getDescription()
FactoryProperties
getDescription
in interface FactoryProperties
public String getDisplayName()
FactoryProperties
getDisplayName
in interface FactoryProperties
public String getIdentifier()
FactoryProperties
getIdentifier
in interface FactoryProperties
public SheetPaper asSheetPaper()
Paper
asSheetPaper
in interface Paper
public TractorPaper asTractorPaper()
Paper
asTractorPaper
in interface Paper
public RollPaper asRollPaper()
Paper
asRollPaper
in interface Paper