|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.ModelObject
net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.Specification
public class 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.
| Field Summary | |
|---|---|
protected String |
identifier
|
protected Multiplicity |
multiplicity
|
protected Properties |
properties
|
protected Scope |
scope
|
protected String |
vendor
|
protected String |
version
|
| Fields inherited from class net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.ModelObject |
|---|
authors, createDate, documentation, modelVersion |
| Constructor Summary | |
|---|---|
Specification()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.Specification instance. |
|
Specification(Specification o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.Specification instance by copying a given instance. |
|
| Method Summary | |
|---|---|
Specification |
clone()
Creates and returns a copy of this object. |
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 class net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.ModelObject |
|---|
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Properties properties
protected String identifier
protected String vendor
protected String version
protected Multiplicity multiplicity
protected Scope scope
| Constructor Detail |
|---|
public Specification()
net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.Specification instance.
public Specification(Specification o)
net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.jomc.Specification instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public Properties getProperties()
Propertiespublic void setProperties(Properties value)
value - allowed object is
Propertiespublic String getIdentifier()
Stringpublic void setIdentifier(String value)
value - allowed object is
Stringpublic String getVendor()
Stringpublic void setVendor(String value)
value - allowed object is
Stringpublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic Multiplicity 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).
Multiplicitypublic void setMultiplicity(Multiplicity value)
value - allowed object is
Multiplicitypublic Scope 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.
Scopepublic void setScope(Scope value)
value - allowed object is
Scopepublic Specification clone()
clone in class ModelObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||