|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.Staker.domain.Unit
public class Unit
This is one of the many inventoried item types that can be installed during construction. Each type of item has a name which is used to identify it both to the staking engineer and the accounting subsystem. Units can have a list of associated units which are generally installed at the same time; this is presented to the engineer to use or modify when the unit is placed. Examples include assemblies, transformers, lights, etc.
| Constructor Summary | |
|---|---|
Unit()
Create a new, empty Unit. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
void |
copyState(java.lang.Object nother)
|
java.lang.String |
getAccountingCode()
The weird accounting code for the unit. |
java.util.ArrayList |
getAssociatedUnits()
These are units commonly installed with a principal unit such as an assembly. |
java.lang.String |
getCategory()
This is a "real world" name for the unit's subclass; e.g. |
UnitCostEstimate |
getCostEstimate()
|
java.lang.String |
getDescription()
A description of the unit. |
ImageReference |
getDiagram()
This is a diagram of the unit, for reference in the field. |
java.lang.String |
getDiagramName()
|
java.lang.String |
getGISCode()
|
java.util.Map |
getInfo()
|
java.util.Map |
getInfoReal()
The info fields for this unit. |
java.lang.String |
getName()
A unique, identifying name for the unit. |
boolean |
getOmitFromStakingSheet()
If true, unit does not appear on staking sheets. |
void |
setAccountingCode(java.lang.String newCode)
The weird accounting code for the unit. |
void |
setAssociatedUnits(java.util.ArrayList newassociatedUnits)
Set the associated units. |
void |
setCategory(java.lang.String newCategory)
This is a "real world" name for the unit's subclass; e.g. |
void |
setDescription(java.lang.String newDescription)
A description of the unit. |
void |
setDiagramName(java.lang.String newName)
|
void |
setName(java.lang.String newname)
A unique, identifying name for the unit. |
void |
setOmitFromStakingSheet(boolean tizit)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Unit()
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic UnitCostEstimate getCostEstimate()
public java.lang.String getCategory()
public void setCategory(java.lang.String newCategory)
public java.lang.String getName()
public void setName(java.lang.String newname)
public java.lang.String getDescription()
public void setDescription(java.lang.String newDescription)
public java.lang.String getAccountingCode()
public void setAccountingCode(java.lang.String newCode)
public java.util.ArrayList getAssociatedUnits()
public void setAssociatedUnits(java.util.ArrayList newassociatedUnits)
public java.lang.String getDiagramName()
public void setDiagramName(java.lang.String newName)
public ImageReference getDiagram()
public java.util.Map getInfo()
public java.util.Map getInfoReal()
public java.lang.String getGISCode()
public boolean getOmitFromStakingSheet()
public void setOmitFromStakingSheet(boolean tizit)
public java.lang.Object clone()
clone in class java.lang.Objectpublic void copyState(java.lang.Object nother)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||