net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl
Class SpecificationImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl.ModelObjectImpl
      extended by net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl.SpecificationImpl
All Implemented Interfaces:
Serializable, Cloneable, ModelObject, Specification

public class SpecificationImpl
extends ModelObjectImpl
implements Serializable, Cloneable, Specification

See Also:
Serialized Form

Field Summary
protected  String identifier
           
protected  Multiplicity multiplicity
           
protected  PropertiesImpl properties
           
protected  Scope scope
           
protected  String vendor
           
protected  String version
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl.ModelObjectImpl
authors, createDate, documentation, modelVersion
 
Constructor Summary
SpecificationImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl.SpecificationImpl instance.
SpecificationImpl(SpecificationImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl.SpecificationImpl instance by copying a given instance.
 
Method Summary
 SpecificationImpl 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.prot.indexed.novalueclass.jomc.impl.ModelObjectImpl
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
 
Methods inherited from interface net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion
 

Field Detail

properties

protected PropertiesImpl properties

identifier

protected String identifier

vendor

protected String vendor

version

protected String version

multiplicity

protected Multiplicity multiplicity

scope

protected Scope scope
Constructor Detail

SpecificationImpl

public SpecificationImpl()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl.SpecificationImpl instance.


SpecificationImpl

public SpecificationImpl(SpecificationImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.jomc.impl.SpecificationImpl instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getProperties

public Properties getProperties()
Description copied from interface: Specification
Properties of this specification.

Specified by:
getProperties in interface Specification
Returns:
possible object is Properties

setProperties

public void setProperties(Properties value)
Description copied from interface: Specification
Sets the value of the properties property.

Specified by:
setProperties in interface Specification
Parameters:
value - allowed object is Properties

getIdentifier

public String getIdentifier()
Description copied from interface: Specification
The identifier of this specification.

Specified by:
getIdentifier in interface Specification
Returns:
possible object is String

setIdentifier

public void setIdentifier(String value)
Description copied from interface: Specification
Sets the value of the identifier property.

Specified by:
setIdentifier in interface Specification
Parameters:
value - allowed object is String

getVendor

public String getVendor()
Description copied from interface: Specification
The presentation vendor of this specification.

Specified by:
getVendor in interface Specification
Returns:
possible object is String

setVendor

public void setVendor(String value)
Description copied from interface: Specification
Sets the value of the vendor property.

Specified by:
setVendor in interface Specification
Parameters:
value - allowed object is String

getVersion

public String getVersion()
Description copied from interface: Specification
The version of this specification.

Specified by:
getVersion in interface Specification
Returns:
possible object is String

setVersion

public void setVersion(String value)
Description copied from interface: Specification
Sets the value of the version property.

Specified by:
setVersion in interface Specification
Parameters:
value - allowed object is String

getMultiplicity

public Multiplicity getMultiplicity()
Description copied from interface: Specification
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).

Specified by:
getMultiplicity in interface Specification
Returns:
possible object is Multiplicity

setMultiplicity

public void setMultiplicity(Multiplicity value)
Description copied from interface: Specification
Sets the value of the multiplicity property.

Specified by:
setMultiplicity in interface Specification
Parameters:
value - allowed object is Multiplicity

getScope

public Scope getScope()
Description copied from interface: Specification
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.

Specified by:
getScope in interface Specification
Returns:
possible object is Scope

setScope

public void setScope(Scope value)
Description copied from interface: Specification
Sets the value of the scope property.

Specified by:
setScope in interface Specification
Parameters:
value - allowed object is Scope

clone

public SpecificationImpl clone()
Creates and returns a copy of this object.

Overrides:
clone in class ModelObjectImpl
Returns:
A clone of this instance.


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