Class NamedKey
- java.lang.Object
-
- com.syntifi.casper.sdk.model.contract.NamedKey
-
public class NamedKey extends java.lang.Object
A named key.- Since:
- 0.0.1
-
-
Constructor Summary
Constructors Constructor Description NamedKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getKey()
key(String) The value of the entry: a casper `Key` type.java.lang.String
getName()
name(String) The name of the entry.int
hashCode()
void
setKey(java.lang.String key)
key(String) The value of the entry: a casper `Key` type.void
setName(java.lang.String name)
name(String) The name of the entry.java.lang.String
toString()
-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
key(String) The value of the entry: a casper `Key` type.
-
getName
public java.lang.String getName()
name(String) The name of the entry.
-
setKey
public void setKey(java.lang.String key)
key(String) The value of the entry: a casper `Key` type.
-
setName
public void setName(java.lang.String name)
name(String) The name of the entry.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-