Class XmlSchemaType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class XmlSchemaType extends Object implements Serializable, Cloneable, Containerable
This element contains the XSD-formatted definition of schema. The schema available in this definition is expected to comply to the usual midPoint schema structure (properties, property containers), although it should not contain objects (persistent objects identified by OID). Note: This schema is considered to be available only in run-time. Therefore code-generation methods such as JAXB cannot be applied here. Note: xsd:any is here, but maybe a stricter type would be preferable. However xsd:any seems to be a common practice (e.g. SPML, WSDL). TODO: rename to CachedSchemaTypeJava class for XmlSchemaType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="XmlSchemaType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}cachingMetadata" minOccurs="0"/> <element name="generationConstraints" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}SchemaGenerationConstraintsType" minOccurs="0"/> <element name="definition" type="{http://prism.evolveum.com/xml/ns/public/types-3}SchemaDefinitionType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_CACHING_METADATA
static ItemName
F_DEFINITION
static ItemName
F_GENERATION_CONSTRAINTS
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description XmlSchemaType()
XmlSchemaType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
XmlSchemaType
public XmlSchemaType()
-
XmlSchemaType
public XmlSchemaType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getCachingMetadata
public CachingMetadataType getCachingMetadata()
-
setCachingMetadata
public void setCachingMetadata(CachingMetadataType value)
-
getGenerationConstraints
public SchemaGenerationConstraintsType getGenerationConstraints()
-
setGenerationConstraints
public void setGenerationConstraints(SchemaGenerationConstraintsType value)
-
getDefinition
public SchemaDefinitionType getDefinition()
-
setDefinition
public void setDefinition(SchemaDefinitionType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
cachingMetadata
public XmlSchemaType cachingMetadata(CachingMetadataType value)
-
beginCachingMetadata
public CachingMetadataType beginCachingMetadata()
-
generationConstraints
public XmlSchemaType generationConstraints(SchemaGenerationConstraintsType value)
-
beginGenerationConstraints
public SchemaGenerationConstraintsType beginGenerationConstraints()
-
definition
public XmlSchemaType definition(SchemaDefinitionType value)
-
beginDefinition
public SchemaDefinitionType beginDefinition()
-
id
public XmlSchemaType id(Long value)
-
clone
public XmlSchemaType clone()
-
-