agave-systems/systems-core/src/main/java/org/iplantc/service/systems/model/enumerations/RoleType.java
/**
	 * Returns integer value of the {@link RoleType}. Values ascend in value from 0 for {@link #NONE} to 5
	 * @return true of permission equals {@link #PUBLISHER} or above
	 */
Returns integer value of the  RoleType. Values ascend in value from 0 for  #NONE to 5
@return true of permission equals  #PUBLISHER or above
Returns integer value of the RoleType . Values ascend in value from 0 for #NONE to 5 @return true of permission equals #PUBLISHER or above
public int intVal() {
		if (this.equals(ADMIN)) {
			return 5;
		} else if (this.equals(OWNER)) {
			return 4;
		} else if (this.equals(PUBLISHER)) {
			return 3;
		} else if (this.equals(USER)) {
			return 2;
		} else if (this.equals(GUEST)) {
			return 1;
		} else {
			return 0;
		}
	}
public int intVal ( ) { if ( this . equals ( ADMIN ) ) { return 5 ; } else if ( this . equals ( OWNER ) ) { return 4 ; } else if ( this . equals ( PUBLISHER ) ) { return 3 ; } else if ( this . equals ( USER ) ) { return 2 ; } else if ( this . equals ( GUEST ) ) { return 1 ; } else { return 0 ; } }
Returns integer value of the {@link RoleType}.
Returns integer value of the { @link RoleType } .