|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.negotiation.Restriction
public class Restriction
A wrapper class that filters restrictions from a wsagreement Item. Usually
each item has a single restriction associated with it. Each Restriction
is part of a single Service which it acts on. These are usually
extracted from the Template.
Restriction.Type which defines
the type of restriction.
| Nested Class Summary | |
|---|---|
static class |
Restriction.Type
The Types of Restrictions that are possible. |
| Constructor Summary | |
|---|---|
Restriction(Item item)
Each restriction is associated with a single item. |
|
| Method Summary | |
|---|---|
boolean |
accepts(java.lang.Object value)
See if the enumeration contains a compatible value for the given Object. |
java.lang.String |
getClassName()
Get the name of the class that this restriction works on. |
java.lang.String |
getFieldName()
Get the name of the field that this restriction works on. |
java.lang.String |
getLocation()
Get the location of the field that this restriction is defined on. |
java.lang.String |
getServiceName()
Returns the service name of the SDT this restriction is associated with. |
Restriction.Type |
getType()
Obtain the restriction type for this restriction. |
java.lang.Object |
getValue()
Get the value of the restriction. |
java.util.List<java.lang.Object> |
getValues()
Return a list of allowed values for a restriction. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Restriction(Item item)
| Method Detail |
|---|
public boolean accepts(java.lang.Object value)
public Restriction.Type getType()
public java.lang.Object getValue()
public java.util.List<java.lang.Object> getValues()
public java.lang.String getServiceName()
public java.lang.String getLocation()
public java.lang.String getFieldName()
getLocation().
public java.lang.String getClassName()
getLocation().
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 | ||||||||