Class Control
- Direct Known Subclasses:
CacheControl
,CheckGroupMembershipControl
,DeleteControl
,ExternalNameControl
,PageControl
,PageResponseControl
,PropertyControl
,SearchResponseControl
,SortControl
Java class for Control complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Control"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> </sequence> </restriction> </complexContent> </complexType>
The Control object is used for specifying control information in calls to VMM. It can be divided into two categories: request control and response control.
The Request control is sent from client to server within the input Root object. It is used for specifying requesting information. For example, PropertyControl is used for specifying the name of properties needing to be returned for the entity. GroupMembershipControl is used for requesting the groups the entity belongs to.
The Response control is sent from server to client within the output Root object. Response control is used for sending back control information. For example, PageResponseControl is used for sending back the cookie to the client so that the client can send back the cookie to request next page.
The Control object is at the top level of control hierarchy. All other controls are extended from it. The Control object itself is abstract and is not directly used.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the requested propertygetDataType
(String propName) Gets the Java type of the value of the provided property.static List
getPropertyNames
(String entityTypeName) Gets a list of all supported properties for this model object, Controlstatic HashSet
Gets a set of any model objects which extend this model object, ControlGets a list of any model objects which this model object, Control, is an extension of.Gets the name of this model object, Controlboolean
Returns true if the requested property is set; false, otherwise.boolean
Returns a true if the provided model object is one that this model object extends; false, otherwise.void
Sets the value of the provided property to the provided value.toString()
Returns this model object, Control, and its contents as a Stringvoid
Sets the value of provided property to null.
-
Constructor Details
-
Control
public Control()
-
-
Method Details
-
get
Gets the value of the requested property -
isSet
Returns true if the requested property is set; false, otherwise.- Returns:
- returned object is
boolean
-
set
Sets the value of the provided property to the provided value. -
unset
Sets the value of provided property to null.- Parameters:
propName
- allowed object isString
-
getTypeName
Gets the name of this model object, Control- Returns:
- returned object is
String
-
getPropertyNames
Gets a list of all supported properties for this model object, Control -
getDataType
Gets the Java type of the value of the provided property. For example: String, List -
getSuperTypes
Gets a list of any model objects which this model object, Control, is an extension of.- Returns:
- returned object is
ArrayList
-
isSubType
Returns a true if the provided model object is one that this model object extends; false, otherwise.- Parameters:
superTypeName
- allowed object isString
- Returns:
- returned object is
boolean
-
getSubTypes
Gets a set of any model objects which extend this model object, Control- Returns:
- returned object is
HashSet
-
toString
Returns this model object, Control, and its contents as a String
-