Class NamedKey
- java.lang.Object
-
- com.syntifi.casper.sdk.model.contract.NamedKey
-
public class NamedKey extends java.lang.ObjectA 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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetKey()key(String) The value of the entry: a casper `Key` type.java.lang.StringgetName()name(String) The name of the entry.inthashCode()voidsetKey(java.lang.String key)key(String) The value of the entry: a casper `Key` type.voidsetName(java.lang.String name)name(String) The name of the entry.java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-