public class Portfolio
extends java.lang.Object
implements objects.ConfigurableObject, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
int |
ID |
java.lang.String |
myVersion |
byte[] |
payload |
java.lang.String |
status |
java.lang.String |
type |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
createPdxHelperMap()
Create a map of fields and field values to use to write to the blackboard
since PdxSerialiables cannot be put on the blackboard since the MasterController
does not have pdx objects on its classpath.
|
boolean |
equals(java.lang.Object other) |
int |
getID() |
int |
getIndex()
Returns the index encoded in the object.
|
java.lang.String |
getType()
Getter for property type.
|
int |
hashCode() |
void |
init(int i)
Returns a new instance of the object encoded with the index.
|
boolean |
isActive() |
void |
restoreFromPdxHelperMap(java.util.Map aMap)
Restore the fields of this instance using the values of the Map, created
by createPdxHelperMap()
|
boolean |
testMethod(boolean booleanArg) |
java.lang.String |
toString() |
void |
validate(int index)
Validates whether the index is encoded in the object, if this
applies, and performs other validation checks as needed.
|
public java.lang.String myVersion
public int ID
public java.lang.String type
public java.lang.String status
public byte[] payload
public int getID()
public java.util.Map createPdxHelperMap()
public void restoreFromPdxHelperMap(java.util.Map aMap)
public boolean testMethod(boolean booleanArg)
public boolean isActive()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getType()
public void init(int i)
init in interface objects.ConfigurableObjectObjectCreationException - An error occured when creating the object. See the error
message for more details.public int getIndex()
getIndex in interface objects.ConfigurableObjectObjectAccessException - An error occured when accessing the object. See the error
message for more details.public void validate(int index)
validate in interface objects.ConfigurableObjectObjectAccessException - An error occured when accessing the object. See the error
message for more details.ObjectValidationException - The object failed validation. See the error message for more
details.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.ObjectCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.