net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.jomc
Interface Specification

All Superinterfaces:
ModelObject
All Known Implementing Classes:
SpecificationImpl

public interface Specification
extends ModelObject

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.pkg.collections.novalueclass.jomc.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion
 

Method Detail

getProperties

Properties getProperties()
Properties of this specification.

Returns:
possible object is Properties

setProperties

void setProperties(Properties value)
Sets the value of the properties property.

Parameters:
value - allowed object is Properties

getIdentifier

String getIdentifier()
The identifier of this specification.

Returns:
possible object is String

setIdentifier

void setIdentifier(String value)
Sets the value of the identifier property.

Parameters:
value - allowed object is String

getVendor

String getVendor()
The presentation vendor of this specification.

Returns:
possible object is String

setVendor

void setVendor(String value)
Sets the value of the vendor property.

Parameters:
value - allowed object is String

getVersion

String getVersion()
The version of this specification.

Returns:
possible object is String

setVersion

void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

getMultiplicity

Multiplicity getMultiplicity()
The mandatory implementation multiplicity among a set of modules of this specification. A multiplicity equal to 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).

Returns:
possible object is Multiplicity

setMultiplicity

void setMultiplicity(Multiplicity value)
Sets the value of the multiplicity property.

Parameters:
value - allowed object is Multiplicity

getScope

Scope getScope()
Scope this specification applies to. 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.

Returns:
possible object is Scope

setScope

void setScope(Scope value)
Sets the value of the scope property.

Parameters:
value - allowed object is Scope


Copyright © 2009 The CC-XJC Community. All Rights Reserved.