public abstract class BusinessObject
extends com.primavera.integration.client.BOBase
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
ObjectId |
getObjectId()
Gets the ObjectId for this object.
|
Object |
getValue(int fieldId) |
Object |
getValue(String sFieldName) |
int |
hashCode()
Returns a hash code for this business object.
|
boolean |
isNull(String sFieldName)
Checks whether a field is currently null in the result set returned from the database.
|
void |
setNull(String sFieldName)
Sets a field to null.
|
void |
setObjectId(ObjectId objId)
Sets the ObjectId for this object.
|
public boolean isNull(String sFieldName) throws FieldNotLoadedException, InvalidFieldException, BusinessObjectException
sFieldName
- the field name to check.FieldNotLoadedException
- if no fields were loaded in this business objectInvalidFieldException
- if the specified field name is null or invalidBusinessObjectException
- if the internal data is invalidIllegalArgumentException
- if the input parameter is null or invalidpublic void setNull(String sFieldName) throws BusinessObjectException
sFieldName
- the name of the field to set.BusinessObjectException
- if the internal data is invalidIllegalArgumentException
- if the specified field name is null or invalidpublic ObjectId getObjectId() throws BusinessObjectException
getObjectId
in class com.primavera.integration.client.BOBase
BusinessObjectException
- if the ObjectId field(s) were not loaded in this business
objectpublic void setObjectId(ObjectId objId) throws BusinessObjectException
objId
- the ObjectId of this objectBusinessObjectException
- if the number of key fields mismatch between the ObjectId
and the business objectpublic boolean equals(Object obj)
public int hashCode()
public Object getValue(String sFieldName) throws BusinessObjectException
getValue
in class com.primavera.integration.client.BOBase
BusinessObjectException
public Object getValue(int fieldId) throws BusinessObjectException
BusinessObjectException
Copyright © 2003, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.