Class FlexibleNARKey
java.lang.Object
com.nt.udc.flexibleAggregator.table.FlexibleNARKey
- All Implemented Interfaces:
Serializable
This class extends the NARKey to have a boolean indicating if the key is active.
Due to the usage of the NARKey, this actually just contains an instance of
the NARKey which we call as needed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlexibleNARKey
(NARKey sourceKey) These are the constructors from the base NARKey. -
Method Summary
-
Constructor Details
-
FlexibleNARKey
These are the constructors from the base NARKey. The key is always active when it is first created.
-
-
Method Details
-
isKeyActive
public boolean isKeyActive()Indicates if the key is currently set to active -
setKeyInactive
public void setKeyInactive()Makes the key inactive. -
setKeyActive
public void setKeyActive()Makes the key active. -
getNARKey
This will return the internal NARKey. -
toBytes
public byte[] toBytes()These are calls that just get passed on to the NARKey. -
hashCode
public int hashCode() -
equals
-
toString
-