Spring for Apache Hadoop

org.springframework.yarn.integration.ip.mind.binding
Class BaseObject

java.lang.Object
  extended by org.springframework.yarn.integration.ip.mind.binding.BaseObject
Direct Known Subclasses:
AddWithStepExecutionReq, BaseResponseObject, CreateJobExecutionReq, CreateJobExecutionWithJobInstanceReq, CreateJobInstanceReq, ExecutionContextType, FindRunningJobExecutionsReq, GetJobExecutionReq, GetJobExecutionsReq, GetJobInstanceCountReq, GetJobInstanceReq, GetJobInstancesReq, GetJobNamesReq, GetLastJobExecutionReq, GetLastStepExecutionReq, GetStepExecutionCountReq, GetStepExecutionReq, IsJobInstanceExistsReq, JobExecutionType, JobInstanceType, JobParametersType, JobParameterType, PartitionedStepExecutionStatusReq, StepExecutionType, UpdateExecutionContextReq, UpdateWithJobExecutionReq, UpdateWithStepExecutionReq

public abstract class BaseObject
extends java.lang.Object

Base object of messages meant for pojo mapping.

Author:
Janne Valkealahti

Field Summary
 java.lang.String type
          Type identifier of the object
 
Constructor Summary
BaseObject()
          Constructs an empty object
BaseObject(java.lang.String type)
          Constructs object with a given type
 
Method Summary
 java.lang.String getType()
          Get type of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public java.lang.String type
Type identifier of the object

Constructor Detail

BaseObject

public BaseObject()
Constructs an empty object


BaseObject

public BaseObject(java.lang.String type)
Constructs object with a given type

Parameters:
type - the type identifier
Method Detail

getType

public java.lang.String getType()
Get type of this object.

Returns:
type of the object

Spring for Apache Hadoop