Class NamedBaseClass
java.lang.Object
neqsim.util.NamedBaseClass
- All Implemented Interfaces:
Serializable, NamedInterface
- Direct Known Subclasses:
ChemicalReaction, ContractSpecification, ControllerDeviceBaseClass, LogicBlock, MeasurementDeviceBaseClass, ModelPredictiveController, Packing, SeparatorSection, SimulationBaseClass, Standard, TransferFunctionBlock, Well
Abstract class for named objects.
- Version:
- $Id: $Id
- Author:
- ASMF
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization version UID.private String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Getter for the fieldname.Retrieves the tag number of the process equipment.voidSetter for the fieldname.voidsetTagNumber(String tagNumber) Sets the tag number for the process equipment.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NamedInterface
getTagName, setTagName
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
name
-
tagNumber
-
-
Constructor Details
-
NamedBaseClass
Constructor for NamedBaseClass- Parameters:
name- the name of the object
-
-
Method Details
-
getName
Getter for the field
name.- Specified by:
getNamein interfaceNamedInterface- Returns:
- a
Stringobject
-
setName
Setter for the field
name.- Specified by:
setNamein interfaceNamedInterface- Parameters:
name- aStringobject
-
setTagNumber
Sets the tag number for the process equipment.- Specified by:
setTagNumberin interfaceNamedInterface- Parameters:
tagNumber- aStringrepresenting the tag number
-
getTagNumber
Retrieves the tag number of the process equipment.- Specified by:
getTagNumberin interfaceNamedInterface- Returns:
- the tag number as a String.
-