|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Specification
Specification meta-data.
A specification consists of the properties identifier,
vendor, description and version. Property
identifier holds an identifier uniquely identifying the specification in
a set of specifications. Property vendor holds vendor information for
the vendor providing the specification. Property description holds a
textual description and property version holds a textual version of the
specification.
Property multiplicity specifies the number of implementations allowed
to exist among a set of modules. A specification with Multiplicity.ONE
specifies that no more than one implementation of the specification is allowed
to exist among a set of modules (including none). A specification with
Multiplicity.MANY specifies that multiple implementations of the
specification are allowed to exist among a set of modules (including none).
Property scope specifies the scope the specification applies to. In
multiton scope, a new object is created whenever requested. In context scope,
objects are bound to a system's context. An object is only created if not
already available in context. In singleton scope, objects are bound to a
system's single instance store. An object is only created if not already
available in that single instance store.
| Method Summary | |
|---|---|
String |
getIdentifier()
The identifier of this specification. |
Multiplicity |
getMultiplicity()
The mandatory implementation multiplicity among a set of modules of this specification. |
Properties |
getProperties()
Properties of this specification. |
Scope |
getScope()
Scope this specification applies to. |
String |
getVendor()
The presentation vendor of this specification. |
String |
getVersion()
The version of this specification. |
void |
setIdentifier(String value)
Sets the value of the identifier property. |
void |
setMultiplicity(Multiplicity value)
Sets the value of the multiplicity property. |
void |
setProperties(Properties value)
Sets the value of the properties property. |
void |
setScope(Scope value)
Sets the value of the scope property. |
void |
setVendor(String value)
Sets the value of the vendor property. |
void |
setVersion(String value)
Sets the value of the version property. |
| Methods inherited from interface net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.jomc.ModelObject |
|---|
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion |
| Method Detail |
|---|
Properties getProperties()
Propertiesvoid setProperties(Properties value)
value - allowed object is
PropertiesString getIdentifier()
Stringvoid setIdentifier(String value)
value - allowed object is
StringString getVendor()
Stringvoid setVendor(String value)
value - allowed object is
StringString getVersion()
Stringvoid setVersion(String value)
value - allowed object is
StringMultiplicity getMultiplicity()
Multiplicity.ONE specifies
exactly one implementation of the specification must exist among a set of
modules. A multiplicity equal to Multiplicity.MANY specifies that many
implementations are allowed to exist among a set of modules (including none).
Multiplicityvoid setMultiplicity(Multiplicity value)
value - allowed object is
MultiplicityScope getScope()
Scope.MULTITON scope specifies that
a new implementation instance is to be created each time requested.
Scope.CONTEXT scope specifies that implementation instances are to be
bound to a system's context. Scope.SINGLETON scope specifies that
implementation instances are to be bound to a system's single instance store.
Scopevoid setScope(Scope value)
value - allowed object is
Scope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||