|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.policy.impl.IntentImpl
public class IntentImpl
Represents a policy intent.
| Constructor Summary | |
|---|---|
protected |
IntentImpl()
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<javax.xml.namespace.QName> |
getConstrains()
Returns the list of SCA constructs that this intent is meant to configure. |
java.lang.String |
getDescription()
Returns the intent description. |
java.lang.String |
getDomain()
Get the intent domain (the root intent name before any qualifiers) |
java.util.List<Intent> |
getExcludedIntents()
Returns the list of intents which are mutually exclusive with this intent. |
javax.xml.namespace.QName |
getName()
Returns the intent name. |
java.util.List<Intent> |
getQualifiedIntents()
Returns the list of children qualified intents. |
java.lang.String[] |
getQualifiedNames()
Get the intent qualifiers |
int |
hashCode()
|
boolean |
isUnresolved()
Returns true if the model element is unresolved. |
void |
setDescription(java.lang.String description)
Sets the intent description. |
void |
setName(javax.xml.namespace.QName name)
Sets the intent name |
void |
setUnresolved(boolean unresolved)
Sets whether the model element is unresolved. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected IntentImpl()
| Method Detail |
|---|
public javax.xml.namespace.QName getName()
Intent
getName in interface Intentpublic void setName(javax.xml.namespace.QName name)
Intent
setName in interface Intentname - the intent namepublic java.lang.String getDomain()
Intent
getDomain in interface Intentpublic java.lang.String[] getQualifiedNames()
Intent
getQualifiedNames in interface Intentpublic java.util.List<javax.xml.namespace.QName> getConstrains()
Intent
getConstrains in interface Intentpublic java.lang.String getDescription()
Intent
getDescription in interface Intentpublic void setDescription(java.lang.String description)
Intent
setDescription in interface Intentdescription - the intent descriptionpublic java.util.List<Intent> getQualifiedIntents()
Intent
getQualifiedIntents in interface Intentpublic java.util.List<Intent> getExcludedIntents()
Intent
getExcludedIntents in interface Intentpublic boolean isUnresolved()
Intent
isUnresolved in interface Intentpublic void setUnresolved(boolean unresolved)
Intent
setUnresolved in interface Intentunresolved - whether the model element is unresolvedpublic int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||