Class LabelValue
- java.lang.Object
-
- ru.ispras.microtesk.utils.SharedObject<LabelValue>
-
- ru.ispras.microtesk.test.template.LabelValue
-
- All Implemented Interfaces:
Value
public final class LabelValue extends SharedObject<LabelValue> implements Value
-
-
Constructor Summary
Constructors Constructor Description LabelValue(LabelValue other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Value
copy()
java.math.BigInteger
getAddress()
Label
getLabel()
java.lang.String
getName()
java.lang.String
getSuffix()
java.math.BigInteger
getValue()
boolean
hasAddress()
LabelValue
newCopy()
Creates a new full copy of the object.static LabelValue
newKnown(Label label, java.math.BigInteger address)
static LabelValue
newLazy()
static LabelValue
newUnknown(Label label)
void
setAddress(java.math.BigInteger value)
void
setLabel(Label value)
void
setSuffix(java.lang.String suffix)
java.lang.String
toString()
-
Methods inherited from class ru.ispras.microtesk.utils.SharedObject
copyAll, freeSharedCopies, getCopy, publishSharedCopy, sharedCopy, sharedCopyAll
-
-
-
-
Constructor Detail
-
LabelValue
public LabelValue(LabelValue other)
-
-
Method Detail
-
newLazy
public static LabelValue newLazy()
-
newUnknown
public static LabelValue newUnknown(Label label)
-
newKnown
public static LabelValue newKnown(Label label, java.math.BigInteger address)
-
newCopy
public LabelValue newCopy()
Description copied from class:SharedObject
Creates a new full copy of the object. This method must call theSharedObject(SharedObject)
copy constructor in order to publish a shared copy.- Specified by:
newCopy
in classSharedObject<LabelValue>
- Returns:
- New full copy of the object.
-
getName
public java.lang.String getName()
-
getLabel
public Label getLabel()
-
setLabel
public void setLabel(Label value)
-
getAddress
public java.math.BigInteger getAddress()
-
setAddress
public void setAddress(java.math.BigInteger value)
-
hasAddress
public boolean hasAddress()
-
getSuffix
public java.lang.String getSuffix()
-
setSuffix
public void setSuffix(java.lang.String suffix)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-