|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects 11g Release 1 (11.1.1.7.1) E36215-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BusinessObject
A business object. Note that new methods may be added to this interface without notice. Do not extend this interface for custom classes.
Method Summary | |
---|---|
CustomAttribute |
createAttribute(java.lang.String name, AttributeType attrType) Create a custom attribute for the given name and type. |
CustomAttribute |
createAttribute(java.lang.String name, java.lang.String type) Create a custom attribute for the given name and type. |
BusinessObjectFunction |
createFunction(java.lang.String name, java.lang.String returnType, java.lang.String body) Create a function for this business object. |
BusinessObjectTrigger |
createTrigger(BusinessObjectTriggerType triggerType, java.lang.String name, java.lang.String triggerDefinition, java.lang.String errorMessage) Create a trigger for this business object. |
BusinessObjectValidator |
createValidator(java.lang.String name, java.lang.String ruleDefinition, java.lang.String errorMessage) Create a validator for this business object. |
void |
deleteAttribute(CustomAttribute attr) Delete a custom attribute. |
void |
deleteFunction(BusinessObjectFunction function) Delete a function from this business object. |
void |
deleteTrigger(BusinessObjectTrigger trigger) Delete a trigger from this business object. |
void |
deleteValidator(BusinessObjectValidator validator) Delete a validator from this business object. |
Attribute |
findAttribute(java.lang.String name) Retrive the attribute of the given name. |
BusinessObjectFunction |
findFunction(java.lang.String name) Retrive the function of the given name. |
BusinessObjectTrigger |
findTrigger(java.lang.String name) Retrieve the trigger of the given name. |
BusinessObjectValidator |
findValidator(java.lang.String name) Retrive the validator of the given name. |
java.util.Collection<Attribute> |
getAttributes() Retrieve all attributes for this business object. |
java.lang.String |
getAutoNumberPattern() Returns the auto number pattern of the object. |
java.lang.String |
getChildCollectionName() Return the internal name of the child object records set. |
java.util.Collection<CustomAttribute> |
getCustomAttributes() Retrieve all custom attributes for this business object. |
java.lang.String |
getDescription() Returns the description of the object. |
java.lang.String |
getDisplayLabel() Returns the display label of the object. |
java.lang.String |
getDisplayNamePlural() Returns the plural display label of the object. |
java.lang.String |
getFullName() Returns the full name of the object. |
java.util.Collection<BusinessObjectFunction> |
getFunctions() Retrieve all functions for the business object. |
java.lang.String |
getName() Returns the name of the object. |
java.lang.String |
getRecordNameLabel() Returns the record name label of the object. |
java.util.Collection<StandardAttribute> |
getStandardAttributes() Retrieve all standard attributes for this business object. |
java.util.Collection<BusinessObjectTrigger> |
getTriggers() Retrieve all triggers for this business object. |
java.util.Collection<BusinessObjectValidator> |
getValidators() Retrieve all validators for this business object. |
boolean |
isRemovable() Return if business object is removable. |
void |
publishRESTWebService() Publish REST web service for the custom object |
void |
setAutoNumberPattern(java.lang.String value) Set the auto number pattern of the object. |
void |
setChildCollectionName(java.lang.String childCollectionName) Set the name of the child object records set |
void |
setDescription(java.lang.String description) Set the description of the object. |
void |
setDisplayLabel(java.lang.String text) Set the display label of the object. |
void |
setDisplayNamePlural(java.lang.String value) Set the plural display label of the object. |
void |
setRecordNameLabel(java.lang.String value) Set the record name label of the object. |
Method Detail |
---|
java.util.Collection<Attribute> getAttributes()
java.util.Collection<StandardAttribute> getStandardAttributes()
java.util.Collection<CustomAttribute> getCustomAttributes()
Attribute findAttribute(java.lang.String name)
name
- name of the attribute.CustomAttribute createAttribute(java.lang.String name, AttributeType attrType)
name
- name of the attributeattrType
- type of the attribute in AttributeTypeoracle.jbo.JboException
- if an attribute for the given name already exists.CustomAttribute createAttribute(java.lang.String name, java.lang.String type)
name
- name of the attributetype
- type of the attribute in String. It isoracle.jbo.JboException
- if an attribute for the given name already exists.void deleteAttribute(CustomAttribute attr)
attr
- custom attribute to be deletedoracle.jbo.JboException
- if attribute is null or if attribute cannot be deletedjava.util.Collection<BusinessObjectValidator> getValidators()
BusinessObjectValidator findValidator(java.lang.String name)
name
- name of the validator.BusinessObjectValidator createValidator(java.lang.String name, java.lang.String ruleDefinition, java.lang.String errorMessage)
name
- name of the validatorruleDefinition
- rule definition of the validatorerrorMessage
- error message of the validatororacle.jbo.JboException
- if an validator for the given name already exists.void deleteValidator(BusinessObjectValidator validator)
validator
- name of the validatororacle.jbo.JboException
- if validator is null.java.util.Collection<BusinessObjectTrigger> getTriggers()
BusinessObjectTrigger findTrigger(java.lang.String name)
name
- name of the trigger.BusinessObjectTrigger createTrigger(BusinessObjectTriggerType triggerType, java.lang.String name, java.lang.String triggerDefinition, java.lang.String errorMessage)
triggerType
- type of the trigger.name
- name of the trigger.triggerDefinition
- trigger definition of the triggererrorMessage
- error message of the triggeroracle.jbo.JboException
- if an trigger for the given name already exists.void deleteTrigger(BusinessObjectTrigger trigger)
trigger
- name of the triggeroracle.jbo.JboException
- if an trigger is nulljava.util.Collection<BusinessObjectFunction> getFunctions()
BusinessObjectFunction findFunction(java.lang.String name)
name
- name of the function.BusinessObjectFunction createFunction(java.lang.String name, java.lang.String returnType, java.lang.String body)
name
- name of the function.returnType
- return type of the functionbody
- function body of the functionoracle.jbo.JboException
- if an function for the given name already exists.void deleteFunction(BusinessObjectFunction function)
function
- function to be deletedoracle.jbo.JboException
- if function is nullvoid setDisplayLabel(java.lang.String text)
text
- display label of the objectjava.lang.String getDisplayLabel()
void setDisplayNamePlural(java.lang.String value)
value
- plural display label of the objectjava.lang.String getDisplayNamePlural()
void setRecordNameLabel(java.lang.String value)
value
- record name label of the objectoracle.jbo.JboException
- if it is not a custom business objectjava.lang.String getRecordNameLabel()
void setAutoNumberPattern(java.lang.String value)
value
- auto number pattern of the objectoracle.jbo.JboException
- if it is not a custom business objectjava.lang.String getAutoNumberPattern()
java.lang.String getName()
void setDescription(java.lang.String description)
java.lang.String getDescription()
java.lang.String getFullName()
void setChildCollectionName(java.lang.String childCollectionName)
childCollectionName
- the name of the child object records setjava.lang.String getChildCollectionName()
boolean isRemovable()
void publishRESTWebService()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects 11g Release 1 (11.1.1.7.1) E36215-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |