public class Context extends Object
| Constructor and Description |
|---|
Context()
Creates a new instance of
Context. |
Context(String label,
int id)
Creates a new instance of
Context. |
Context(String label,
int id,
Fingerprint fingerprint)
Creates a new instance of
ContextImpl. |
| Modifier and Type | Method and Description |
|---|---|
int |
getContextId()
Gets the contextId.
|
String |
getContextLabel()
Gets the contextLabel.
|
Fingerprint |
getFingerprint()
Gets the fingerprint.
|
protected void |
setContextId(int contextId)
Sets the contextId.
|
protected void |
setContextLabel(String contextLabel)
Sets the contextLabel.
|
protected void |
setFingerprint(Fingerprint fingerprint)
Sets the fingerprint.
|
public Context()
Context.public Context(String label, int id)
Context.label - the label for the contextid - the id that identifies the contextpublic Context(String label, int id, Fingerprint fingerprint)
ContextImpl.label - the label of the contextid - the id of the contextfingerprint - the fingerprint representing the contextpublic int getContextId()
public String getContextLabel()
public Fingerprint getFingerprint()
protected void setContextId(int contextId)
contextId - the contextId to setprotected void setContextLabel(String contextLabel)
contextLabel - the contextLabel to setprotected void setFingerprint(Fingerprint fingerprint)
fingerprint - the fingerprint to setCopyright © 2015. All rights reserved.