public class LogicalResource<R extends org.fabric3.api.model.type.component.Resource> extends LogicalScaArtifact<LogicalCompositeComponent>
| Constructor and Description |
|---|
LogicalResource(R definition,
LogicalCompositeComponent parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
R |
getDefinition() |
LogicalState |
getState()
Returns the instance state.
|
int |
hashCode() |
void |
setState(LogicalState state)
Sets the instance state.
|
addMetadata, getMetadata, getParentpublic LogicalResource(R definition, LogicalCompositeComponent parent)
definition - the resource definitionparent - the parent componentpublic R getDefinition()
public LogicalState getState()
public void setState(LogicalState state)
state - the instance statepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object