public class Portfolio extends Object implements objects.ConfigurableObject, Serializable
| Modifier and Type | Field and Description |
|---|---|
int |
ID |
String |
myVersion |
byte[] |
payload |
String |
status |
String |
type |
| Modifier and Type | Method and Description |
|---|---|
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(Object other) |
int |
getID() |
int |
getIndex()
Returns the index encoded in the object.
|
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(Map aMap)
Restore the fields of this instance using the values of the Map, created
by createPdxHelperMap()
|
boolean |
testMethod(boolean booleanArg) |
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 String myVersion
public int ID
public String type
public String status
public byte[] payload
public int getID()
public Map createPdxHelperMap()
public void restoreFromPdxHelperMap(Map aMap)
public boolean testMethod(boolean booleanArg)
public boolean isActive()
public 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.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.