public class BusinessObjectImpl extends java.lang.Object implements BusinessObject
Modifier and Type | Class and Description |
---|---|
static class |
BaseObject.ChildAlreadyExists |
protected static interface |
BaseObject.Manager |
protected static class |
BaseObject.Matcher |
protected static class |
BaseObject.STATE |
protected static class |
BaseObject.UnsupportedRestOperationException |
ADDL_LIST_DISPLAY_FIELDS, ADDL_LIST_SEARCH_FIELDS, API_NAME, BODY, CHILD_LOOKUP_CODES, DATA_FILTERS, DATETIME_DISPLAY_TYPE, DECIMAL_PLACES, DEFAULT_VALUE, DEFINITION, DEPENDENCY_FIELDS, DESCRIPTION, DISPLAY_HEIGHT, DISPLAY_LABEL, DISPLAY_LABEL_PLURAL, DISPLAY_SEQUENCE, DISPLAY_WIDTH, ENABLED, END_DATE_ACTIVE, ERROR_MESSAGE, EXAMPLE, EXPRESSION, FIELDS, FORMULA_TYPE, FULL_NAME, FUNCTION_ID, FUNCTIONS, GLOBAL_FUNCTIONS, HELP_TEXT, ID, INDEXED, IS_CUSTOM, IS_MULTISELECT_PICKLIST, LIST_DISPLAY_FIELD, LIST_OBJECT, LOOKUP_CODE, LOOKUP_TYPE, LOOKUP_TYPES, LOOKUPS, MATCH_CASE, MAX_LENGTH, MAX_VALUE, MEANING, MIN_LENGTH, MIN_VALUE, NAME, OBJECTS, OPERATOR, PARAMETERS, PARENT_BUSINESS_OBJECT, PARENT_LOOKUP_CODE, PARENT_PICKLIST, PICKLIST_LOOKUP_TYPE, PRIVILEGE, PUBLISHED_AS_REST, RECORD_NAME_LABEL, REQUIRED, REQUIRED_EXPRESSION, RETURN_TYPE, SEARCH_FIELD_API_NAME, SORT_BY, SORT_BY_ASCENDING, START_DATE_ACTIVE, TRIGGERS, TYPE, UPDATABLE, UPDATABLE_EXPRESSION, VALIDATORS, VALUE_MAP, VALUE1, VALUE2, VISIBILITY_PROPERTY
Constructor and Description |
---|
BusinessObjectImpl(BusinessEditorManagerImpl manager,
org.codehaus.jettison.json.JSONObject obj) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ObjectVisitor visitor)
Visitor pattern is implemented for the business object to allow visiting
each component of a business object using a custom visitor.
|
void |
activate()
Activate a business object
|
protected org.codehaus.jettison.json.JSONObject |
convertToJSON(java.lang.Object... attrNameAndValues) |
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.
|
protected <T> T |
createChild(java.lang.String accessorName,
java.lang.Class<T> type,
org.codehaus.jettison.json.JSONObject obj) |
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.
|
protected void |
deleteChild(BaseObject.Matcher matcher) |
protected void |
deleteChild(java.lang.String accessorName,
java.lang.String childName) |
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.
|
void |
deprecate()
Deprecate a business object
|
void |
depublishRESTWebService()
Depublish REST web service for the custom object
|
void |
doCreateNewChildren() |
void |
doDeleteChildren() |
void |
doSetAttributes() |
boolean |
equals(java.lang.Object obj) |
Attribute |
findAttribute(java.lang.String name)
Retrive the attribute of the given name.
|
protected <T> T |
findChild(java.lang.Class<T> type,
BaseObject.Matcher matcher) |
protected <T> T |
findChild(java.lang.String accessorName,
java.lang.String childName,
java.lang.Class<T> type) |
protected <T> java.util.List<T> |
findChildren(java.lang.Class<T> type,
BaseObject.Matcher matcher)
Find all children objects matching the given Matcher.
|
BusinessObjectFunction |
findFunction(java.lang.String name,
java.lang.String[] paramTypes)
Retrieves the function with the given name for the business object.
|
java.util.Collection<BusinessObjectFunction> |
findFunctions(java.lang.String name)
Retrieves all functions with the name for the business object.
|
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.
|
protected java.lang.String |
getAccessorNameFromOwner()
Get the resource name that is used by the owner to access this type of object.
|
java.lang.String |
getAPIName()
Returns the API name of the object.
|
protected java.lang.Object |
getAttribute(java.lang.String attrName) |
protected java.lang.Object |
getAttribute(java.lang.String attrName,
java.lang.Object defaultValue)
Get the attribute value for the given attribute name.
|
java.util.Collection<Attribute> |
getAttributes()
For customizable business object, this method will return all standard and custom 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.
|
protected <T> java.util.Collection<T> |
getChildren(java.lang.String accessorName,
java.lang.Class<T> type) |
protected java.util.List<oracle.adfinternal.businesseditor.restapi.BaseObject> |
getChildrenDeleted(BaseObject.Matcher childMatcher) |
protected org.codehaus.jettison.json.JSONArray |
getChildrenJSON(java.lang.String accessorName)
Get all children of a given type defined by accessorName.
|
protected java.util.List<oracle.adfinternal.businesseditor.restapi.BaseObject> |
getChildrenNew(BaseObject.Matcher childMatcher) |
java.util.Collection<CustomAttribute> |
getCustomAttributes()
Retrieve all custom attributes for this business object.
|
java.util.Map<java.lang.String,java.lang.String> |
getCustomProperties(java.lang.String namespace)
Return a map of custom properties for the attribute with the given namespace
|
java.lang.String |
getCustomProperty(java.lang.String namespace,
java.lang.String name)
Return the value of the custom property with the given namespace and name
|
java.lang.String |
getDescription() |
java.lang.String |
getDisplayLabel()
Returns the display label of the object.
|
java.lang.String |
getDisplayNamePlural()
Returns the plural display label of the object.
|
protected java.lang.String |
getFinderKey(java.lang.String accessorName)
Get the key whose value defines the resource name for this object in URL path
|
java.lang.String |
getFullName()
Returns the full name of the object.
|
java.util.Collection<BusinessObjectFunction> |
getFunctions()
Retrieve all functions for the business object.
|
protected java.lang.String |
getInternalName()
Name that will represent the resource id for this object.
|
static java.lang.String |
getLocalizedString(java.lang.String key,
java.lang.Object... args) |
protected oracle.adfinternal.model.logging.contextual.logger.functional.FunctionalLogger |
getLogger() |
BaseObject.Matcher |
getMatcher()
Get a Matcher that is used to compare with another object.
|
java.lang.String |
getName() |
protected oracle.adfinternal.businesseditor.restapi.BaseObject |
getOwner()
Get the container object that contains this object.
|
BusinessObject |
getParent()
Return the parent object if the business object is a child object.
|
java.lang.Object |
getProperty(java.lang.String hintName) |
java.lang.Object |
getProperty(java.lang.String hintName,
oracle.jbo.LocaleContext locale) |
protected java.lang.String[] |
getQueryKeys(java.lang.String accessorName)
Different types of objects use different names to find a child object.
|
java.lang.String |
getRecordNameLabel()
Returns the record name label of the object.
|
Attribute |
getSortByAttribute()
Returns the sort by attribute of the object.
|
java.util.Collection<StandardAttribute> |
getStandardAttributes()
Retrieve all standard attributes for this business object.
|
protected BaseObject.STATE |
getState() |
java.util.Collection<BusinessObjectTrigger> |
getTriggers()
Retrieve all triggers for this business object.
|
java.util.Collection<BusinessObjectValidator> |
getValidators()
Retrieve all validators for this business object.
|
protected <T> T |
initChildObject(java.lang.String accessorName,
org.codehaus.jettison.json.JSONObject child,
java.lang.Class<T> type)
Various methods that return child object needs to create the child object.
|
boolean |
isCaseSensitiveRecordNameUniqueness()
Returns true if a custom business object enforces unique record names
in a case-sensitive way
|
boolean |
isCustomizable()
Return if a business object can be customized.
|
boolean |
isCustomObject()
Return if a business object is a custom object
|
boolean |
isDeprecated()
Return if a business object is deprecated
|
boolean |
isEnforceUniqueRecordName()
Returns true if a custom business object enforces unique record names
|
boolean |
isNew() |
protected boolean |
isPropertyUpdateable(java.lang.String property) |
boolean |
isRemovable()
Return if business object is removable.
|
boolean |
isRESTEnabledForDELETE()
Return if DELETE operation is enabled for REST web service
|
boolean |
isRESTEnabledForGET()
Return if GET operation is enabled for REST web service
|
boolean |
isRESTEnabledForPOST()
Return if POST operation is enabled for REST web service
|
boolean |
isRESTEnabledForPUT()
Return if PUT operation is enabled for REST web service
|
boolean |
isRESTWebServicePublished()
Return if REST web service is published for the business object
|
boolean |
isSortByAscending()
Returns the sort by direction of the object.
|
void |
publishRESTWebService()
Publish REST web service for the custom object
|
protected void |
setAttribute(java.lang.String attrName,
java.lang.Object value) |
void |
setAutoNumberPattern(java.lang.String value)
Set the auto number pattern of the object.
|
void |
setCaseSensitiveRecordNameUniqueness(boolean caseSensitive)
Determines whether a custom business object enforces unique record names
in a case-sensitive way.
|
void |
setChildCollectionName(java.lang.String childCollectionName)
Set the name of the child object records set
|
void |
setCustomProperty(java.lang.String namespace,
java.lang.String name,
java.lang.String value)
Create or update a custom property of the given namespace and name with
the value
|
void |
setDescription(java.lang.String text) |
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 |
setEnforceUniqueRecordName(boolean uniqueRecName)
Determines whether a custom business object enforces unique record names
|
protected void |
setLogger(oracle.adfinternal.model.logging.contextual.logger.functional.FunctionalLogger logger) |
void |
setName(java.lang.String name)
Renames this object.
|
void |
setProperty(java.lang.String hintName,
java.lang.Object hintValue,
oracle.jbo.LocaleContext locale) |
void |
setRecordNameLabel(java.lang.String value)
Set the record name label of the object.
|
void |
setRESTEnabledForDELETE(boolean enabled)
Set if DELETE operation is enabled for REST web service
|
void |
setRESTEnabledForGET(boolean enabled)
Set if GET operation is enabled for REST web service
|
void |
setRESTEnabledForPOST(boolean enabled)
Set if POST operation is enabled for REST web service
|
void |
setRESTEnabledForPUT(boolean enabled)
Set if PUT operation is enabled for REST web service
|
void |
setSortBy(Attribute attribute,
boolean ascending)
Set the sort by attribute name and direction of the object.
|
protected java.lang.String |
toApiName(java.lang.String name) |
void |
undoChanges() |
protected void |
verifyObjectIsValid()
Verifies if object is valid.
|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getName, setDescription
public BusinessObjectImpl(BusinessEditorManagerImpl manager, org.codehaus.jettison.json.JSONObject obj) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getAccessorNameFromOwner()
protected <T> T initChildObject(java.lang.String accessorName, org.codehaus.jettison.json.JSONObject child, java.lang.Class<T> type)
T
- Class that is expected type of the returned child object.accessorName
- resource name used to access the childchild
- JSON structure of the child objecttype
- Class instance of the expected type of child objectprotected java.lang.String toApiName(java.lang.String name)
public java.util.Collection<Attribute> getAttributes()
BusinessObject
BusinessObject.isCustomizable()
to identify if a business object is customizable.getAttributes
in interface BusinessObject
public java.util.Collection<StandardAttribute> getStandardAttributes()
BusinessObject
getStandardAttributes
in interface BusinessObject
public java.util.Collection<CustomAttribute> getCustomAttributes()
BusinessObject
getCustomAttributes
in interface BusinessObject
public Attribute findAttribute(java.lang.String name)
BusinessObject
findAttribute
in interface BusinessObject
name
- name of the attribute.public CustomAttribute createAttribute(java.lang.String name, AttributeType attrType)
BusinessObject
createAttribute
in interface BusinessObject
name
- name of the attributeattrType
- type of the attribute in AttributeTypepublic CustomAttribute createAttribute(java.lang.String name, java.lang.String type)
BusinessObject
createAttribute
in interface BusinessObject
name
- name of the attributetype
- type of the attribute in String. It ispublic void deleteAttribute(CustomAttribute attr)
BusinessObject
deleteAttribute
in interface BusinessObject
attr
- custom attribute to be deletedpublic java.util.Collection<BusinessObjectValidator> getValidators()
BusinessObject
getValidators
in interface BusinessObject
public BusinessObjectValidator findValidator(java.lang.String name)
BusinessObject
findValidator
in interface BusinessObject
name
- name of the validator.public BusinessObjectValidator createValidator(java.lang.String name, java.lang.String ruleDefinition, java.lang.String errorMessage)
BusinessObject
createValidator
in interface BusinessObject
name
- name of the validatorruleDefinition
- rule definition of the validatorerrorMessage
- error message of the validatorpublic void deleteValidator(BusinessObjectValidator validator)
BusinessObject
deleteValidator
in interface BusinessObject
validator
- name of the validatorpublic java.util.Collection<BusinessObjectTrigger> getTriggers()
BusinessObject
getTriggers
in interface BusinessObject
public BusinessObjectTrigger findTrigger(java.lang.String name)
BusinessObject
findTrigger
in interface BusinessObject
name
- name of the trigger.public BusinessObjectTrigger createTrigger(BusinessObjectTriggerType triggerType, java.lang.String name, java.lang.String triggerDefinition, java.lang.String errorMessage)
BusinessObject
createTrigger
in interface BusinessObject
triggerType
- type of the trigger.name
- name of the trigger.triggerDefinition
- trigger definition of the triggererrorMessage
- error message of the triggerpublic void deleteTrigger(BusinessObjectTrigger trigger)
BusinessObject
deleteTrigger
in interface BusinessObject
trigger
- name of the triggerpublic java.util.Collection<BusinessObjectFunction> getFunctions()
BusinessObject
getFunctions
in interface BusinessObject
public BusinessObjectFunction findFunction(java.lang.String name, java.lang.String[] paramTypes)
BusinessObject
findFunction
in interface BusinessObject
name
- name of the business object function to be returnedparamTypes
- parameter types for functionpublic java.util.Collection<BusinessObjectFunction> findFunctions(java.lang.String name)
BusinessObject
findFunctions
in interface BusinessObject
name
- name of the functions to be returnedpublic BusinessObjectFunction createFunction(java.lang.String name, java.lang.String returnType, java.lang.String body)
BusinessObject
createFunction
in interface BusinessObject
name
- name of the function.returnType
- return type of the functionbody
- function body of the functionpublic void deleteFunction(BusinessObjectFunction function)
BusinessObject
deleteFunction
in interface BusinessObject
function
- function to be deletedpublic void setDisplayLabel(java.lang.String text)
BusinessObject
setDisplayLabel
in interface BusinessObject
text
- display label of the objectpublic java.lang.String getDisplayLabel()
BusinessObject
getDisplayLabel
in interface BusinessObject
public void setDisplayNamePlural(java.lang.String value)
BusinessObject
setDisplayNamePlural
in interface BusinessObject
value
- plural display label of the objectpublic java.lang.String getDisplayNamePlural()
BusinessObject
getDisplayNamePlural
in interface BusinessObject
public void setRecordNameLabel(java.lang.String value)
BusinessObject
setRecordNameLabel
in interface BusinessObject
value
- record name label of the objectpublic java.lang.String getRecordNameLabel()
BusinessObject
getRecordNameLabel
in interface BusinessObject
public void setSortBy(Attribute attribute, boolean ascending)
BusinessObject
setSortBy
in interface BusinessObject
attribute
- sort by attribute on the objectascending
- sort direction, ascending or descending.public Attribute getSortByAttribute()
BusinessObject
getSortByAttribute
in interface BusinessObject
public boolean isSortByAscending()
BusinessObject
isSortByAscending
in interface BusinessObject
public void setAutoNumberPattern(java.lang.String value)
BusinessObject
setAutoNumberPattern
in interface BusinessObject
value
- auto number pattern of the objectpublic java.lang.String getAutoNumberPattern()
BusinessObject
getAutoNumberPattern
in interface BusinessObject
public java.lang.String getFullName()
BusinessObject
getFullName
in interface BusinessObject
public java.lang.String getAPIName()
BusinessObject
getAPIName
in interface BusinessObject
public BusinessObject getParent()
BusinessObject
getParent
in interface BusinessObject
public void setChildCollectionName(java.lang.String childCollectionName)
BusinessObject
setChildCollectionName
in interface BusinessObject
childCollectionName
- the name of the child object records setpublic java.lang.String getChildCollectionName()
BusinessObject
getChildCollectionName
in interface BusinessObject
public boolean isRemovable()
BusinessObject
isRemovable
in interface BusinessObject
public void publishRESTWebService()
BusinessObject
publishRESTWebService
in interface BusinessObject
public void depublishRESTWebService()
BusinessObject
depublishRESTWebService
in interface BusinessObject
public boolean isRESTWebServicePublished()
BusinessObject
isRESTWebServicePublished
in interface BusinessObject
public void setRESTEnabledForGET(boolean enabled)
BusinessObject
setRESTEnabledForGET
in interface BusinessObject
enabled
- if GET operation should be enabledpublic boolean isRESTEnabledForGET()
BusinessObject
isRESTEnabledForGET
in interface BusinessObject
public void setRESTEnabledForPOST(boolean enabled)
BusinessObject
setRESTEnabledForPOST
in interface BusinessObject
enabled
- if POST operation should be enabledpublic boolean isRESTEnabledForPOST()
BusinessObject
isRESTEnabledForPOST
in interface BusinessObject
public void setRESTEnabledForPUT(boolean enabled)
BusinessObject
setRESTEnabledForPUT
in interface BusinessObject
enabled
- if PUT operation should be enabledpublic boolean isRESTEnabledForPUT()
BusinessObject
isRESTEnabledForPUT
in interface BusinessObject
public void setRESTEnabledForDELETE(boolean enabled)
BusinessObject
setRESTEnabledForDELETE
in interface BusinessObject
enabled
- if DELETE operation should be enabledpublic boolean isRESTEnabledForDELETE()
BusinessObject
isRESTEnabledForDELETE
in interface BusinessObject
public void deprecate()
BusinessObject
deprecate
in interface BusinessObject
public void activate()
BusinessObject
activate
in interface BusinessObject
public boolean isDeprecated()
BusinessObject
isDeprecated
in interface BusinessObject
public boolean isCustomObject()
BusinessObject
isCustomObject
in interface BusinessObject
public boolean isCustomizable()
BusinessObject
isCustomizable
in interface BusinessObject
public void setEnforceUniqueRecordName(boolean uniqueRecName)
BusinessObject
setEnforceUniqueRecordName
in interface BusinessObject
uniqueRecName
- should it enforce unique record names?public boolean isEnforceUniqueRecordName()
BusinessObject
isEnforceUniqueRecordName
in interface BusinessObject
public void setCaseSensitiveRecordNameUniqueness(boolean caseSensitive)
BusinessObject
setCaseSensitiveRecordNameUniqueness
in interface BusinessObject
caseSensitive
- true if it should enforce case sensitivepublic boolean isCaseSensitiveRecordNameUniqueness()
BusinessObject
isCaseSensitiveRecordNameUniqueness
in interface BusinessObject
public void accept(ObjectVisitor visitor)
BusinessObject
ObjectVisitor
(or extends
BaseObjectVisitor
), one can call BusinessObject
.accept(visitor)
which will transverse all the objects inside a business object.accept
in interface BusinessObject
visitor
- The visitor objectpublic java.util.Map<java.lang.String,java.lang.String> getCustomProperties(java.lang.String namespace)
BusinessObject
getCustomProperties
in interface BusinessObject
namespace
- namespace to search forpublic java.lang.String getCustomProperty(java.lang.String namespace, java.lang.String name)
BusinessObject
getCustomProperty
in interface BusinessObject
namespace
- namespace to search forname
- name of property to search forpublic void setCustomProperty(java.lang.String namespace, java.lang.String name, java.lang.String value)
BusinessObject
setCustomProperty
in interface BusinessObject
namespace
- namespace for new propertyname
- name for new propertyvalue
- value for new propertypublic void setProperty(java.lang.String hintName, java.lang.Object hintValue, oracle.jbo.LocaleContext locale)
public java.lang.Object getProperty(java.lang.String hintName)
public java.lang.Object getProperty(java.lang.String hintName, oracle.jbo.LocaleContext locale)
protected boolean isPropertyUpdateable(java.lang.String property)
protected oracle.adfinternal.businesseditor.restapi.BaseObject getOwner()
protected java.lang.String[] getQueryKeys(java.lang.String accessorName)
accessorName
- the resource name to reach a particular type of child objectprotected java.lang.String getFinderKey(java.lang.String accessorName)
accessorName
- the resource name to reach a particular type of child objectprotected final java.lang.String getInternalName()
public java.lang.String getName()
public void setName(java.lang.String name)
BaseObject.ChildAlreadyExists
if there
is a name clash. Whether the name can be overloaded or not is left
to the findChild(Class, Matcher)
name
- new namepublic void setDescription(java.lang.String text)
public java.lang.String getDescription()
protected java.lang.Object getAttribute(java.lang.String attrName)
protected void verifyObjectIsValid()
oracle.jbo.JboException
- if object is invalidprotected java.lang.Object getAttribute(java.lang.String attrName, java.lang.Object defaultValue)
attrName
- name of attributedefaultValue
- default valueprotected oracle.adfinternal.model.logging.contextual.logger.functional.FunctionalLogger getLogger()
protected void setLogger(oracle.adfinternal.model.logging.contextual.logger.functional.FunctionalLogger logger)
protected BaseObject.STATE getState()
public boolean isNew()
protected void setAttribute(java.lang.String attrName, java.lang.Object value)
public BaseObject.Matcher getMatcher()
equals(Object)
which does a finer comparision of the whole URL path. For example,
functions from global functions or different business objects might match in signature
but not equal as their URL path will be different.protected java.util.List<oracle.adfinternal.businesseditor.restapi.BaseObject> getChildrenDeleted(BaseObject.Matcher childMatcher)
protected java.util.List<oracle.adfinternal.businesseditor.restapi.BaseObject> getChildrenNew(BaseObject.Matcher childMatcher)
protected <T> T findChild(java.lang.String accessorName, java.lang.String childName, java.lang.Class<T> type)
protected <T> T findChild(java.lang.Class<T> type, BaseObject.Matcher matcher)
protected <T> java.util.List<T> findChildren(java.lang.Class<T> type, BaseObject.Matcher matcher)
T
- Class that is expected type of the returned children objects.type
- Class instance of type Tmatcher
- Matcher that is used to find the correct childrenprotected org.codehaus.jettison.json.JSONArray getChildrenJSON(java.lang.String accessorName) throws java.lang.Exception
accessorName
- resource name or type of the children objectsjava.lang.Exception
- if any thrown by the GET requestprotected <T> java.util.Collection<T> getChildren(java.lang.String accessorName, java.lang.Class<T> type)
protected <T> T createChild(java.lang.String accessorName, java.lang.Class<T> type, org.codehaus.jettison.json.JSONObject obj)
protected void deleteChild(java.lang.String accessorName, java.lang.String childName)
protected void deleteChild(BaseObject.Matcher matcher)
protected org.codehaus.jettison.json.JSONObject convertToJSON(java.lang.Object... attrNameAndValues)
public void doDeleteChildren()
public void doCreateNewChildren()
public void doSetAttributes()
public void undoChanges()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static java.lang.String getLocalizedString(java.lang.String key, java.lang.Object... args)