public class SymmetricKeyParser extends Object
| Constructor and Description |
|---|
SymmetricKeyParser()
Empty constructor: Used only to keep GSON happy.
|
SymmetricKeyParser(String json) |
SymmetricKeyParser(String primaryKey,
String secondaryKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPrimaryKey()
Deprecated.
as of Deps version 0.7.1, please use
getPrimaryKeyFinal() |
String |
getPrimaryKeyFinal()
Getter for PrimaryKey
|
String |
getSecondaryKey()
Deprecated.
as of Deps version 0.7.1, please use
getSecondaryKeyFinal() |
String |
getSecondaryKeyFinal()
Getter for SecondaryKey
|
void |
setPrimaryKey(String primaryKey)
Setter for PrimaryKey
|
void |
setSecondaryKey(String secondaryKey)
Setter for SecondaryKey
|
String |
toJson()
Converts this into json and returns it
|
public SymmetricKeyParser()
public SymmetricKeyParser(String json)
public String toJson()
@Deprecated public String getPrimaryKey()
getPrimaryKeyFinal()public final String getPrimaryKeyFinal()
public void setPrimaryKey(String primaryKey) throws IllegalArgumentException
primaryKey - the value to set the primary key toIllegalArgumentException - if primaryKey is null@Deprecated public String getSecondaryKey()
getSecondaryKeyFinal()public final String getSecondaryKeyFinal()
public void setSecondaryKey(String secondaryKey) throws IllegalArgumentException
secondaryKey - the value to set the secondary key toIllegalArgumentException - if secondaryKey is nullCopyright © 2019. All rights reserved.