|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.opendse.model.Specification
public class Specification
The Specification consists of an Application,
Architecture, Mappings, and Routings.
| Field Summary | |
|---|---|
protected Application<?,?> |
application
|
protected Architecture<?,?> |
architecture
|
protected Attributes |
attributes
|
protected Mappings<?,?> |
mappings
|
protected Routings<?,?,?> |
routings
|
| Constructor Summary | |
|---|---|
Specification(Application<?,?> application,
Architecture<?,?> architecture,
Mappings<?,?> mappings)
Constructs the specification. |
|
Specification(Application<?,?> application,
Architecture<?,?> architecture,
Mappings<?,?> mappings,
Routings<?,?,?> routings)
Constructs the specification. |
|
| Method Summary | ||
|---|---|---|
protected static Routings<?,?,?> |
fill(Application<?,?> application,
Architecture<?,?> architecture)
|
|
|
getApplication()
Returns the application. |
|
|
getArchitecture()
Returns the architecture. |
|
|
getAttribute(java.lang.String identifier)
Returns the attribute |
|
java.util.Set<java.lang.String> |
getAttributeNames()
Returns the attribute names. |
|
Parameter |
getAttributeParameter(java.lang.String identifier)
Return the parameter definition or null if the attribute is not
defined as parameter. |
|
Attributes |
getAttributes()
Returns the map of all pairs of attributes. |
|
|
getMappings()
Returns the mappings. |
|
|
getRoutings()
Returns the routings. |
|
boolean |
isDefined(java.lang.String identifier)
Tests whether an attribute is defined. |
|
void |
setAttribute(java.lang.String identifier,
java.lang.Object object)
Sets the attribute. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Architecture<?,?> architecture
protected Application<?,?> application
protected Mappings<?,?> mappings
protected Routings<?,?,?> routings
protected Attributes attributes
| Constructor Detail |
|---|
public Specification(Application<?,?> application,
Architecture<?,?> architecture,
Mappings<?,?> mappings)
application - the applicationarchitecture - the architecturemappings - the mappings
public Specification(Application<?,?> application,
Architecture<?,?> architecture,
Mappings<?,?> mappings,
Routings<?,?,?> routings)
application - the applicationarchitecture - the architecturemappings - the mappingsroutings - the routings| Method Detail |
|---|
protected static Routings<?,?,?> fill(Application<?,?> application,
Architecture<?,?> architecture)
public <A extends Architecture<Resource,Link>> A getArchitecture()
A - the type of architecture
public <A extends Application<Task,Dependency>> A getApplication()
A - the type of application
public <M extends Mappings<Task,Resource>> M getMappings()
M - the type of mappings
public <R extends Routings<Task,Resource,Link>> R getRoutings()
R - the type of routings
public void setAttribute(java.lang.String identifier,
java.lang.Object object)
IAttributes
setAttribute in interface IAttributesidentifier - the identifier of the attributeobject - the value of the attributepublic <O> O getAttribute(java.lang.String identifier)
IAttributes
getAttribute in interface IAttributesO - the type of the attributeidentifier - the identifier of the attribute
public Parameter getAttributeParameter(java.lang.String identifier)
IAttributesnull if the attribute is not
defined as parameter.
getAttributeParameter in interface IAttributesidentifier - the identifier of the attribute
public Attributes getAttributes()
IAttributes
getAttributes in interface IAttributespublic java.util.Set<java.lang.String> getAttributeNames()
IAttributes
getAttributeNames in interface IAttributespublic boolean isDefined(java.lang.String identifier)
IAttributes
isDefined in interface IAttributesidentifier - the identifier of the attribute
true if defined
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||