public class ContextRule
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private char |
context |
private int |
idx |
private java.lang.String |
keyHash |
private char |
premis |
Constructor and Description |
---|
ContextRule(java.lang.String context)
Constructor for ContextRule, holds all the logic so that only relevant data is
stored
|
Modifier and Type | Method and Description |
---|---|
char |
getContextChar()
Returns the value of context char.
|
int |
getIndex()
Returns the value of context index.
|
java.lang.String |
getKeyHash()
Returns the value of keyHash.
|
char |
getPremis()
Returns the value of premis.
|
java.lang.String |
toString() |
private int idx
private final java.lang.String keyHash
private final char premis
private final char context
public ContextRule(java.lang.String context)
context
- public char getContextChar()
public java.lang.String getKeyHash()
public char getPremis()
public int getIndex()
public java.lang.String toString()
toString
in class java.lang.Object