|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.ModelObject
net.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.SpecificationReference
net.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.ImplementationReference
net.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.Dependency
public class Dependency
Dependency meta-data.
A dependency consists of a name uniquely identifying the dependency in a set
of dependencies and pairs a specification with corresponding implementations
from a set of available implementations. Properties set with a dependency
overwrite properties of the dependencies specification. The bound flag
indicates if the instance of the dependency is bound to the declaring
implementation. The optional flag indicates an optional dependency.
| Field Summary | |
|---|---|
protected Boolean |
bound
|
protected String |
name
|
protected Boolean |
optional
|
protected Properties |
properties
|
| Fields inherited from class net.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.ImplementationReference |
|---|
implementationName |
| Fields inherited from class net.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.SpecificationReference |
|---|
identifier, version |
| Fields inherited from class net.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.ModelObject |
|---|
authors, createDate, documentation, modelVersion |
| Constructor Summary | |
|---|---|
Dependency()
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.Dependency instance. |
|
Dependency(Dependency o)
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.Dependency instance by copying a given instance. |
|
| Method Summary | |
|---|---|
Dependency |
clone()
Creates and returns a copy of this object. |
String |
getName()
Name of this dependency. |
Properties |
getProperties()
Properties of this dependency. |
boolean |
isBound()
True, if this dependency is bound to its object; false, if not. |
boolean |
isOptional()
True, if this dependency is optional; false, if not. |
void |
setBound(Boolean value)
Sets the value of the bound property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setOptional(Boolean value)
Sets the value of the optional property. |
void |
setProperties(Properties value)
Sets the value of the properties property. |
| Methods inherited from class net.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.ImplementationReference |
|---|
getImplementationName, setImplementationName |
| Methods inherited from class net.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.SpecificationReference |
|---|
getIdentifier, getVersion, setIdentifier, setVersion |
| Methods inherited from class net.sourceforge.ccxjc.it.model.priv.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 name
protected Boolean bound
protected Boolean optional
| Constructor Detail |
|---|
public Dependency()
net.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.Dependency instance.
public Dependency(Dependency o)
net.sourceforge.ccxjc.it.model.priv.collections.valueclass.jomc.Dependency 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 getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isBound()
Booleanpublic void setBound(Boolean value)
value - allowed object is
Booleanpublic boolean isOptional()
Booleanpublic void setOptional(Boolean value)
value - allowed object is
Booleanpublic Dependency clone()
clone in class ImplementationReference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||