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

All Superinterfaces:
ImplementationReference, ModelObject, SpecificationReference
All Known Implementing Classes:
DependencyImpl

public interface Dependency
extends ImplementationReference

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.


Method Summary
 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 interface net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.jomc.ImplementationReference
getImplementationName, setImplementationName
 
Methods inherited from interface net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.jomc.SpecificationReference
getIdentifier, getVersion, setIdentifier, setVersion
 
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 dependency.

Returns:
possible object is Properties

setProperties

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

Parameters:
value - allowed object is Properties

getName

String getName()
Name of this dependency.

Returns:
possible object is String

setName

void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isBound

boolean isBound()
True, if this dependency is bound to its object; false, if not.

Returns:
possible object is Boolean

setBound

void setBound(Boolean value)
Sets the value of the bound property.

Parameters:
value - allowed object is Boolean

isOptional

boolean isOptional()
True, if this dependency is optional; false, if not.

Returns:
possible object is Boolean

setOptional

void setOptional(Boolean value)
Sets the value of the optional property.

Parameters:
value - allowed object is Boolean


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