public class ResourceObjectIdentification extends Object implements Serializable
Constructor and Description |
---|
ResourceObjectIdentification(ObjectClassComplexTypeDefinition objectClassDefinition,
Collection<? extends ResourceAttribute<?>> primaryIdentifiers,
Collection<? extends ResourceAttribute<?>> secondaryIdentifiers) |
public ResourceObjectIdentification(ObjectClassComplexTypeDefinition objectClassDefinition, Collection<? extends ResourceAttribute<?>> primaryIdentifiers, Collection<? extends ResourceAttribute<?>> secondaryIdentifiers)
public Collection<? extends ResourceAttribute<?>> getPrimaryIdentifiers()
public <T> ResourceAttribute<T> getPrimaryIdentifier() throws SchemaException
SchemaException
public Collection<? extends ResourceAttribute<?>> getSecondaryIdentifiers()
public <T> ResourceAttribute<T> getSecondaryIdentifier() throws SchemaException
SchemaException
public Collection<? extends ResourceAttribute<?>> getAllIdentifiers()
public ObjectClassComplexTypeDefinition getObjectClassDefinition()
public static ResourceObjectIdentification create(ObjectClassComplexTypeDefinition objectClassDefinition, Collection<? extends ResourceAttribute<?>> allIdentifiers) throws SchemaException
SchemaException
public static ResourceObjectIdentification createFromAttributes(ObjectClassComplexTypeDefinition objectClassDefinition, Collection<? extends ResourceAttribute<?>> attributes) throws SchemaException
SchemaException
public static ResourceObjectIdentification createFromShadow(ObjectClassComplexTypeDefinition objectClassDefinition, ShadowType shadowType) throws SchemaException
SchemaException
public void validatePrimaryIdenfiers()
public boolean hasPrimaryIdentifiers()
Copyright © 2021 Evolveum. All rights reserved.