|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.yosokumo.core.Block
abstract class Block
An abstract base class for EmptyBlock
, PredictorBlock
, and
SpecimenBlock
. The Block
class is package-private so it
is unknown in the API. It is a way to package up Predictors
and
Specimens
for transmission to the Yosokumo web service via HTTP.
Nested Class Summary | |
---|---|
(package private) static class |
Block.Type
Indicates what is stored in the Block , e.g., Predictors ,
or Specimens . |
Field Summary | |
---|---|
private java.lang.String |
studyIdentifier
Specifies the study which the block is associated with. |
Constructor Summary | |
---|---|
Block()
Initializes a newly created Block object with default
attributes. |
|
Block(java.lang.String id)
Initializes a newly created Block object with a study
identifier. |
Method Summary | |
---|---|
(package private) java.lang.String |
getStudyIdentifier()
Return the study identifier of the block. |
(package private) abstract Block.Type |
getType()
Return the type of the block. |
(package private) void |
setStudyIdentifier(java.lang.String id)
Set the study identifier of the block. |
abstract java.lang.String |
toString()
Return the block as a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String studyIdentifier
Constructor Detail |
---|
Block()
Block
object with default
attributes.
Block(java.lang.String id)
Block
object with a study
identifier.
id
- a study identifier for the block.Method Detail |
---|
abstract Block.Type getType()
void setStudyIdentifier(java.lang.String id)
id
- the identifier to assign to the block.java.lang.String getStudyIdentifier()
public abstract java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |