org.universAAL.support.utils.service
Class Remove
java.lang.Object
org.universAAL.support.utils.service.Value
org.universAAL.support.utils.service.Remove
public class Remove
- extends Value
Class representing a Remove-type argument in a service request. Arguments are
the "leaf" objects at the end of a property path and can be of several types
depending on what you want to do with them. A Remove-type argument means that
the value represented by this argument must be "removed" by the service you
intend to call.
- Author:
- alfiva
Fields inherited from class org.universAAL.support.utils.service.Value |
isByURI, uri |
Constructor Summary |
Remove(Object byValue)
Recommended for use by SimpleRequests. |
Remove(String byTypeURI)
Recommended for use by SimpleProfiles. |
Method Summary |
Object |
getObject()
This is only supposed to be used internally. |
String |
getURI()
This is only supposed to be used internally. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Remove
public Remove(Object byValue)
- Recommended for use by SimpleRequests. Value used to define
values to remove as arguments of a Request. If this constructor is
used by Simple Profiles with a specific instance value the input is not
treated as a variable reference but as a explicit added value.
- Parameters:
byValue
- An instance of a ManagedIndividual or native type representing
the value to be removed
Remove
public Remove(String byTypeURI)
- Recommended for use by SimpleProfiles. Value used to define
values to remove as arguments of a Profile.
- Parameters:
byTypeURI
- A type URI of a ManagedIndividual or native type representing
the type of value to be removed. However if the parameter is
not a valid URI, it will be understood as an instance of a
String, as if it used the "byValue" constructor instead.
getObject
public Object getObject()
- This is only supposed to be used internally.
- Returns:
- The actual value of the value to remove
getURI
public String getURI()
- This is only supposed to be used internally.
- Returns:
- The type URI of the value to remove
Copyright © 2014 universAAL Consortium. All Rights Reserved.