com.evolveum.midpoint.xml.ns._public.common.common_1
Class GenericObjectType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
      extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
          extended by com.evolveum.midpoint.xml.ns._public.common.common_1.GenericObjectType
All Implemented Interfaces:
java.io.Serializable

public class GenericObjectType
extends ExtensibleObjectType
implements java.io.Serializable

Generic object for storing unknown (unexpected) object types. The generic object should be used if there is a need to store a custom object (e.g KangarooType) at deployment-time and the XML type relacement extensibility cannot be used. The properties of such custom objects are to be placed in the extension part of this object. The schema is not checked or enforced for this type of objects if technically possible.

Java class for GenericObjectType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="GenericObjectType">
   <complexContent>
     <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ExtensibleObjectType">
       <sequence>
         <element name="objectType" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.String objectType
           
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
extension
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
description, name, oid, version
 
Constructor Summary
GenericObjectType()
           
 
Method Summary
 java.lang.String getObjectType()
          Gets the value of the objectType property.
 void setObjectType(java.lang.String value)
          Sets the value of the objectType property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
getExtension, setExtension
 
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
getDescription, getName, getOid, getVersion, setDescription, setName, setOid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

objectType

protected java.lang.String objectType
Constructor Detail

GenericObjectType

public GenericObjectType()
Method Detail

getObjectType

public java.lang.String getObjectType()
Gets the value of the objectType property.

Returns:
possible object is String

setObjectType

public void setObjectType(java.lang.String value)
Sets the value of the objectType property.

Parameters:
value - allowed object is String

toString

public java.lang.String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class ExtensibleObjectType


Copyright © 2011 evolveum. All Rights Reserved.