Class ResourceObjectIdentification
- java.lang.Object
-
- com.evolveum.midpoint.schema.processor.ResourceObjectIdentification
-
- All Implemented Interfaces:
Serializable
public class ResourceObjectIdentification extends Object implements Serializable
- Author:
- semancik
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceObjectIdentification(ObjectClassComplexTypeDefinition objectClassDefinition, Collection<? extends ResourceAttribute<?>> primaryIdentifiers, Collection<? extends ResourceAttribute<?>> secondaryIdentifiers)
-
Method Summary
-
-
-
Constructor Detail
-
ResourceObjectIdentification
public ResourceObjectIdentification(ObjectClassComplexTypeDefinition objectClassDefinition, Collection<? extends ResourceAttribute<?>> primaryIdentifiers, Collection<? extends ResourceAttribute<?>> secondaryIdentifiers)
-
-
Method Detail
-
getPrimaryIdentifiers
public Collection<? extends ResourceAttribute<?>> getPrimaryIdentifiers()
-
getPrimaryIdentifier
public <T> ResourceAttribute<T> getPrimaryIdentifier() throws SchemaException
- Throws:
SchemaException
-
getSecondaryIdentifiers
public Collection<? extends ResourceAttribute<?>> getSecondaryIdentifiers()
-
getSecondaryIdentifier
public <T> ResourceAttribute<T> getSecondaryIdentifier() throws SchemaException
- Throws:
SchemaException
-
getAllIdentifiers
public Collection<? extends ResourceAttribute<?>> getAllIdentifiers()
-
getObjectClassDefinition
public ObjectClassComplexTypeDefinition getObjectClassDefinition()
-
create
public static ResourceObjectIdentification create(ObjectClassComplexTypeDefinition objectClassDefinition, Collection<? extends ResourceAttribute<?>> allIdentifiers) throws SchemaException
- Throws:
SchemaException
-
createFromAttributes
public static ResourceObjectIdentification createFromAttributes(ObjectClassComplexTypeDefinition objectClassDefinition, Collection<? extends ResourceAttribute<?>> attributes) throws SchemaException
- Throws:
SchemaException
-
createFromShadow
public static ResourceObjectIdentification createFromShadow(ObjectClassComplexTypeDefinition objectClassDefinition, ShadowType shadowType) throws SchemaException
- Throws:
SchemaException
-
validatePrimaryIdenfiers
public void validatePrimaryIdenfiers()
-
hasPrimaryIdentifiers
public boolean hasPrimaryIdentifiers()
-
-