public class CipherVersionImpl extends Object implements CipherVersion, Serializable
CipherVersion
,
Serialized FormConstructor and Description |
---|
CipherVersionImpl(String aCipherUid,
String aCipher)
Constructs the data structure with the required attributes.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CipherVersion aCipherVersion) |
boolean |
equals(Object obj)
The universal ID is our criteria for equality and for generating a hash
code as we have to identify a
CipherVersion in collection's
regarding their UID. |
String |
getCipher()
Returns the cipher attribute.
|
String |
getUniversalId() |
int |
hashCode()
The universal ID is our criteria for equality and for generating a hash
code as we have to identify a
CipherVersion in collection's
regarding their UID. |
public String getUniversalId()
getUniversalId
in interface org.refcodes.mixin.UniversalIdAccessor
public String getCipher()
CipherVersion
getCipher
in interface CipherVersion
public int compareTo(CipherVersion aCipherVersion)
compareTo
in interface Comparable<CipherVersion>
public int hashCode()
CipherVersion
in collection's
regarding their UID.
public boolean equals(Object obj)
CipherVersion
in collection's
regarding their UID.
Copyright © 2016. All rights reserved.