|
SDO_DAS_DataFactory::addPropertyToType
Adds a property to a type
()
Warning:
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk. Adds a property to a type. The type must already be known to the SDO_DAS_DataFactory (i.e. have been added using addType()). The property becomes a property of the type. This is how the graph model for the structure of an SDO_DataObject is built. Parameters
ChangeLog
ExamplesExample 2186. A SDO_DAS_DataFactory::addPropertyToType() exampleThe following adds an 'addressline' property to a Person type. The person type is identified by its namespace, 'PersonNS', and type name, 'PersonType'. The type of the 'addressline' property is a many-valued SDO data type (primitive) with namespace 'commonj.sdo' and type name 'String'. <?php |
Change LanguageSDO_DAS_ChangeSummary::beginLogging SDO_DAS_ChangeSummary::endLogging SDO_DAS_ChangeSummary::getChangeType SDO_DAS_ChangeSummary::getChangedDataObjects SDO_DAS_ChangeSummary::getOldContainer SDO_DAS_ChangeSummary::getOldValues SDO_DAS_ChangeSummary::isLogging SDO_DAS_DataFactory::addPropertyToType SDO_DAS_DataFactory::addType SDO_DAS_DataFactory::getDataFactory SDO_DAS_DataObject::getChangeSummary SDO_DAS_Setting::getListIndex SDO_DAS_Setting::getPropertyIndex SDO_DAS_Setting::getPropertyName SDO_DAS_Setting::getValue SDO_DAS_Setting::isSet SDO_DataFactory::create SDO_DataObject::clear SDO_DataObject::createDataObject SDO_DataObject::getContainer SDO_DataObject::getSequence SDO_DataObject::getTypeName SDO_DataObject::getTypeNamespaceURI SDO_Exception::getCause SDO_List::insert SDO_Model_Property::getContainingType SDO_Model_Property::getDefault SDO_Model_Property::getName SDO_Model_Property::getType SDO_Model_Property::isContainment SDO_Model_Property::isMany SDO_Model_ReflectionDataObject::__construct SDO_Model_ReflectionDataObject::export SDO_Model_ReflectionDataObject::getContainmentProperty SDO_Model_ReflectionDataObject::getInstanceProperties SDO_Model_ReflectionDataObject::getType SDO_Model_Type::getBaseType SDO_Model_Type::getName SDO_Model_Type::getNamespaceURI SDO_Model_Type::getProperties SDO_Model_Type::getProperty SDO_Model_Type::isAbstractType SDO_Model_Type::isDataType SDO_Model_Type::isInstance SDO_Model_Type::isOpenType SDO_Model_Type::isSequencedType SDO_Sequence::getProperty SDO_Sequence::insert SDO_Sequence::move |