Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.udo.cs.miningmart.m4
Interface Roles

All Known Implementing Classes:
  Roles

    public interface Roles

Access to the roles used in M4.

Version:
  $Id: $
Author:
  Timm Euler

Field Summary
`static java.lang.String` | `ROLE_KEY`
`static java.lang.String` | `ROLE_LABEL`
`static java.lang.String` | `ROLE_NOROLE`
`static java.lang.String` | `ROLE_PREDICTOR`
`static java.lang.String[]` | `ROLES`

Method Summary
`long` | `getIdForName(java.lang.String name)`
`java.lang.String` | `getNameForId(long id)`

Field Detail

### ROLE_NOROLE

    static final java.lang.String ROLE_NOROLE

See Also:
  Constant Field Values

### ROLE_KEY

    static final java.lang.String ROLE_KEY

See Also:
  Constant Field Values

### ROLE_LABEL

    static final java.lang.String ROLE_LABEL

See Also:
  Constant Field Values

### ROLE_PREDICTOR

    static final java.lang.String ROLE_PREDICTOR

See Also:
  Constant Field Values

### ROLES

    static final java.lang.String[] ROLES

Method Detail

### getIdForName

    long getIdForName(java.lang.String name)

  Parameters:
    `name` - the name of a role (case senitive)
  Returns:
    the id representing this role or `0` if not found

### getNameForId

    java.lang.String getNameForId(long id)

  Parameters:
    `id` - the ID of a role
  Returns:
    the role's name

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005