|
complexType EntitySpecificationValue | ||||||||||
| Jump: DOCUMENTATION | SOURCE | FRAMES NO FRAMES | ||||||||||
| Type Heirarchy |
|---|
{http://java.sun.com/products/oss/xml/Common}ManagedEntityValue (by extension) {http://java.sun.com/products/oss/xml/CBE/Core}CBEManagedEntityValue (by extension) {http://java.sun.com/products/oss/xml/CBE/Core}EntitySpecificationValue |
| Derived Types |
|---|
{http://java.sun.com/products/oss/xml/CBE/Core}EntitySpecificationValue {http://java.sun.com/products/oss/xml/CBE/Product}ProductSpecificationValue (by extension) {http://java.sun.com/products/oss/xml/CBE/Service}ServiceSpecificationValue (by extension) {http://java.sun.com/products/oss/xml/CBE/Sla}SLAItemSpecificationValue (by extension) {http://java.sun.com/products/oss/xml/CBE/Sla}SLASpecificationValue (by extension) {http://java.sun.com/products/oss/xml/CBE/Resource}ResourceSpecificationValue (by extension) {http://java.sun.com/products/oss/xml/CBE/Product/ProductOffering}ProductOfferingValue (by extension) |
| Abstract | false (This can be used in an instance) |
|---|---|
| Target Namespace | http://java.sun.com/products/oss/xml/CBE/Core |
| Declared Namespaces | xmlns:cbecore=http://java.sun.com/products/oss/xml/CBE/Core xmlns:co=http://java.sun.com/products/oss/xml/Common xmlns=http://www.w3.org/2001/XMLSchema |
EntitySpecificationValue is the base for all specification entities.
An entity specification captures characteristics and constraints
applicable to instances of the same entity type. For example a
"GoldBroadbandAccessServicespecification" will capture the characteristics,
configuration and QoS parameter ranges, specific to a "Gold" Broadband
Access service offering. Several specification instances may exist for the same
entity type. "Gold", "Silver" and "Bronze" specifications may be defined
for a "BroadbandAccessService".
Catalogues are collections of entity specifications (e.g. service catalogue composed of service specifications, product catalogue composed of product specifications, resource catalogue composed of resource specifications).
An entity instance is defined by a single entity specification.
The same entity specification may be used to define multiple entity instances.
An association exists between the entity specification and the entity instances,
defined by this specification (the values of the describingSpecification
attributes of the entities are set with the key of the specification).
The specification defines default values for all attributes of the corresponding entity type.
Entity specifications provide a factory method for the attribute constraints they contain. Note that the CBE package does not specify through how attribute constraints are defined. Specific implementations of the CBE interfaces should define the concrete attribute constraint interfaces and the methods on the entity specification that allow to get and set these constraints.
Entity specifications are represented as managed entities
(according to the OSS through Java definition of managed entity).
EntitySpecification instances have their own key and can be retrieved through
API specific JVTSession interfaces.
The following example show how to use the Inventory API to update a ProductSpecification:
JVTInventorySession jvt = ...;
EntitySpecificationKey key = ...;
ProductSpecificationValue value = (ProductSpecificationValue)jvt.getEntitySpecificationByKey(key);
value.setAttributeValue("...");
jvt.setEntitySpecificationByValue(value);
The specification for a given entity type may be used as a factory for value objects or for creating entity instances of this entity type. For example using the Inventory API:
JVT<...>InventorySession.make<...>EntityValueFromSpecification()and theJVT<...>InventorySession.create<...>EntityFromSpecification()methods.
Entity specifications are uniquely identified by their keys. See {@link EntitySpecificationKey} for more information.
EntitySpecificationValue inherits from ManagedEntityValue all methods
for population, generic attribute access and serialization.
|
complexType EntitySpecificationValue | ||||||||||
| Jump: DOCUMENTATION | SOURCE | FRAMES NO FRAMES | ||||||||||
![]() |
||
| Stylus Studio XML Schema Library Home | ||
| Site Map | Privacy Policy | Terms of Use | Trademarks |