|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.implementation.java.impl.JavaResourceImpl
public class JavaResourceImpl
A resource dependency declared by a Java component implementation
Constructor Summary | |
---|---|
JavaResourceImpl(JavaElementImpl element)
|
Method Summary | |
---|---|
JavaElementImpl |
getElement()
|
java.lang.String |
getMappedName()
Returns the URI of the resource |
java.lang.String |
getName()
The name of the resource |
boolean |
isOptional()
If true, the resource is optional |
void |
setMappedName(java.lang.String mappedName)
Sets the resource URI |
void |
setOptional(boolean optional)
Sets whether the resource is optional |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaResourceImpl(JavaElementImpl element)
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getMappedName()
public void setMappedName(java.lang.String mappedName)
public boolean isOptional()
public void setOptional(boolean optional)
public JavaElementImpl getElement()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |