Class NaicsCode
- java.lang.Object
-
- com.trustedchoice.askkodiak.v2.model.naics.NaicsCode
-
public class NaicsCode extends java.lang.Object
An object containing a numerical code and text description associated with the hash.
-
-
Constructor Summary
Constructors Constructor Description NaicsCode()
-
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
getCode()
The 6 digit NAICS national industry code associated with the hash.java.lang.String
getDescription()
The NAICS description associated with the hash.java.lang.String
getHash()
The hash in the current NAICS edition.int
hashCode()
void
setCode(java.lang.String code)
The 6 digit NAICS national industry code associated with the hash.void
setDescription(java.lang.String description)
The NAICS description associated with the hash.void
setHash(java.lang.String hash)
The hash in the current NAICS edition.java.lang.String
toString()
-
-
-
Method Detail
-
getCode
public java.lang.String getCode()
The 6 digit NAICS national industry code associated with the hash.
-
getDescription
public java.lang.String getDescription()
The NAICS description associated with the hash.
-
getHash
public java.lang.String getHash()
The hash in the current NAICS edition. In most cases this will be identical to the hash submitted in the original query, but may vary if that hash no longer exists in the current NAICS edition. In this case, the hash will represent the equivalent hash in the current NAICS edition.
-
setCode
public void setCode(java.lang.String code)
The 6 digit NAICS national industry code associated with the hash.
-
setDescription
public void setDescription(java.lang.String description)
The NAICS description associated with the hash.
-
setHash
public void setHash(java.lang.String hash)
The hash in the current NAICS edition. In most cases this will be identical to the hash submitted in the original query, but may vary if that hash no longer exists in the current NAICS edition. In this case, the hash will represent the equivalent hash in the current NAICS edition.
-
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
-
-