public abstract class AbstractPaper extends Object implements Paper, Serializable
Paper.TypeFactoryProperties.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, waitnewComparatorBuilderpublic String getDescription()
FactoryPropertiesgetDescription in interface FactoryPropertiespublic String getDisplayName()
FactoryPropertiesgetDisplayName in interface FactoryPropertiespublic String getIdentifier()
FactoryPropertiesgetIdentifier in interface FactoryPropertiespublic SheetPaper asSheetPaper()
PaperasSheetPaper in interface Paperpublic TractorPaper asTractorPaper()
PaperasTractorPaper in interface Paperpublic RollPaper asRollPaper()
PaperasRollPaper in interface Paper