org.apache.oozie
Class BundleActionId

java.lang.Object
  extended by org.apache.oozie.BundleActionId
All Implemented Interfaces:
org.apache.hadoop.io.Writable

@Embeddable
public class BundleActionId
extends Object
implements org.apache.hadoop.io.Writable

The composite primary key for the BundleActionBean Entity.


Constructor Summary
BundleActionId()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getBundleId()
          Return the Bundle Id.
 String getCoordName()
          Return the coordinator name
 int hashCode()
           
 void readFields(DataInput dataInput)
           
 void setBundleId(String bundleId)
          Set the Bundle Id
 void setCoordName(String coordName)
          Set the coordinator name
 void write(DataOutput dataOutput)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleActionId

public BundleActionId()
Method Detail

setBundleId

public void setBundleId(String bundleId)
Set the Bundle Id

Parameters:
bundleId - the bundleId to set

getBundleId

public String getBundleId()
Return the Bundle Id.

Returns:
the bundleId

setCoordName

public void setCoordName(String coordName)
Set the coordinator name

Parameters:
coordName - the coordName to set

getCoordName

public String getCoordName()
Return the coordinator name

Returns:
the coordName

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

readFields

public void readFields(DataInput dataInput)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput dataOutput)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException


Copyright © 2012 Apache Software Foundation. All Rights Reserved.