Class XmlSchemaType
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType
-
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class XmlSchemaType extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
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 CachedSchemaType- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
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
static Producer<XmlSchemaType>
FACTORY
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description XmlSchemaType()
XmlSchemaType(PrismContext context)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachingMetadataType
beginCachingMetadata()
SchemaGenerationConstraintsType
beginGenerationConstraints()
XmlSchemaType
cachingMetadata(CachingMetadataType value)
XmlSchemaType
clone()
XmlSchemaType
definition(SchemaDefinitionType value)
<X> X
end()
boolean
equals(Object other)
XmlSchemaType
generationConstraints(SchemaGenerationConstraintsType value)
CachingMetadataType
getCachingMetadata()
SchemaDefinitionType
getDefinition()
SchemaGenerationConstraintsType
getGenerationConstraints()
XmlSchemaType
id(Long value)
void
setCachingMetadata(CachingMetadataType value)
void
setDefinition(SchemaDefinitionType value)
void
setGenerationConstraints(SchemaGenerationConstraintsType value)
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
-
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, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_CACHING_METADATA
public static final ItemName F_CACHING_METADATA
-
F_GENERATION_CONSTRAINTS
public static final ItemName F_GENERATION_CONSTRAINTS
-
F_DEFINITION
public static final ItemName F_DEFINITION
-
FACTORY
public static final Producer<XmlSchemaType> FACTORY
-
-
Constructor Detail
-
XmlSchemaType
public XmlSchemaType()
-
XmlSchemaType
@Deprecated public XmlSchemaType(PrismContext context)
Deprecated.
-
-
Method Detail
-
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)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
public XmlSchemaType id(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)
-
end
public <X> X end()
-
clone
public XmlSchemaType clone()
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
-