public class ResourceObjectIdentification extends Object implements Serializable
Constructor and Description |
---|
ResourceObjectIdentification(ObjectClassComplexTypeDefinition objectClassDefinition,
Collection<? extends ResourceAttribute<?>> primaryIdentifiers,
Collection<? extends ResourceAttribute<?>> secondaryIdentifiers) |
Modifier and Type | Method and Description |
---|---|
static ResourceObjectIdentification |
create(ObjectClassComplexTypeDefinition objectClassDefinition,
Collection<? extends ResourceAttribute<?>> allIdentifiers) |
static ResourceObjectIdentification |
createFromAttributes(ObjectClassComplexTypeDefinition objectClassDefinition,
Collection<? extends ResourceAttribute<?>> attributes) |
static ResourceObjectIdentification |
createFromShadow(ObjectClassComplexTypeDefinition objectClassDefinition,
ShadowType shadowType) |
boolean |
equals(Object obj) |
ObjectClassComplexTypeDefinition |
getObjectClassDefinition() |
<T> ResourceAttribute<T> |
getPrimaryIdentifier() |
Collection<? extends ResourceAttribute<?>> |
getPrimaryIdentifiers() |
<T> ResourceAttribute<T> |
getSecondaryIdentifier() |
Collection<? extends ResourceAttribute<?>> |
getSecondaryIdentifiers() |
int |
hashCode() |
boolean |
hasPrimaryIdentifiers() |
String |
toString() |
void |
validatePrimaryIdenfiers() |
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 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 © 2018 Evolveum. All rights reserved.