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, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

public class GenericObjectType
extends ExtensibleObjectType
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

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
static javax.xml.namespace.QName COMPLEX_TYPE
           
static javax.xml.namespace.QName F_OBJECT_TYPE
           
protected  java.lang.String objectType
           
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
extension, F_EXTENSION
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
description, F_DESCRIPTION, F_FETCH_RESULT, F_NAME, F_VERSION, fetchResult, name, oid, version
 
Constructor Summary
GenericObjectType()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 java.lang.String getObjectType()
          Gets the value of the objectType property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 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, getFetchResult, getName, getOid, getVersion, setDescription, setFetchResult, setName, setOid, setVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

objectType

protected java.lang.String objectType

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

F_OBJECT_TYPE

public static final javax.xml.namespace.QName F_OBJECT_TYPE
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

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class ExtensibleObjectType

hashCode

public int hashCode()
Overrides:
hashCode in class ExtensibleObjectType

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      java.lang.Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class ExtensibleObjectType

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class ExtensibleObjectType


Copyright © 2012 evolveum. All Rights Reserved.