2017-10-02 19:34:50 +00:00
|
|
|
package cy.agorise.graphenej;
|
2017-07-12 04:05:40 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum-type used to specify the different roles of an authority.
|
|
|
|
*
|
|
|
|
* @see <a href="https://bitshares.org/doxygen/authority_8hpp_source.html">Authority</a>
|
|
|
|
*/
|
|
|
|
|
|
|
|
public enum AuthorityType {
|
|
|
|
OWNER,
|
|
|
|
ACTIVE,
|
2018-08-29 02:26:35 +00:00
|
|
|
MEMO;
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
|
|
|
return String.format("%d", this.ordinal());
|
|
|
|
}
|
2017-07-12 04:05:40 +00:00
|
|
|
}
|