|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects 11g Release 1 (11.1.1.7.0) E36215-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BusinessObject
A business object.
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(oracle.jbo.server.TriggerType 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.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 |
setAutoNumberPattern(java.lang.String value)
Set the auto number pattern of the object. |
void |
setDescription(java.lang.String description)
Returns 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 AttributeType
oracle.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 is
oracle.jbo.JboException
- if an attribute for the given name already exists.void deleteAttribute(CustomAttribute attr)
attr
- custom attribute to be deleted
oracle.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 validator
oracle.jbo.JboException
- if an validator for the given name already exists.void deleteValidator(BusinessObjectValidator validator)
validator
- name of the validator
oracle.jbo.JboException
- if validator is null.java.util.Collection<BusinessObjectTrigger> getTriggers()
BusinessObjectTrigger findTrigger(java.lang.String name)
name
- name of the trigger.
BusinessObjectTrigger createTrigger(oracle.jbo.server.TriggerType 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 trigger
oracle.jbo.JboException
- if an trigger for the given name already exists.void deleteTrigger(BusinessObjectTrigger trigger)
trigger
- name of the trigger
oracle.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 function
oracle.jbo.JboException
- if an function for the given name already exists.void deleteFunction(BusinessObjectFunction function)
function
- function to be deleted
oracle.jbo.JboException
- if function is nullvoid setDisplayLabel(java.lang.String text)
text
- display label of the object
java.lang.String getDisplayLabel()
void setDisplayNamePlural(java.lang.String value)
value
- plural display label of the object
java.lang.String getDisplayNamePlural()
void setRecordNameLabel(java.lang.String value)
value
- record name label of the object
oracle.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 object
oracle.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()
boolean isRemovable()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects 11g Release 1 (11.1.1.7.0) E36215-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |