|
|||||||||
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 Intent
public void setName(javax.xml.namespace.QName name)
Intent
setName
in interface Intent
name
- the intent namepublic java.lang.String getDomain()
Intent
getDomain
in interface Intent
public java.lang.String[] getQualifiedNames()
Intent
getQualifiedNames
in interface Intent
public java.util.List<javax.xml.namespace.QName> getConstrains()
Intent
getConstrains
in interface Intent
public java.lang.String getDescription()
Intent
getDescription
in interface Intent
public void setDescription(java.lang.String description)
Intent
setDescription
in interface Intent
description
- the intent descriptionpublic java.util.List<Intent> getQualifiedIntents()
Intent
getQualifiedIntents
in interface Intent
public java.util.List<Intent> getExcludedIntents()
Intent
getExcludedIntents
in interface Intent
public boolean isUnresolved()
Intent
isUnresolved
in interface Intent
public void setUnresolved(boolean unresolved)
Intent
setUnresolved
in interface Intent
unresolved
- whether the model element is unresolvedpublic int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.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 |