|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.prism.Definition
com.evolveum.midpoint.prism.ComplexTypeDefinition
com.evolveum.midpoint.schema.processor.ObjectClassComplexTypeDefinition
public class ObjectClassComplexTypeDefinition
Field Summary |
---|
Fields inherited from class com.evolveum.midpoint.prism.Definition |
---|
defaultName, displayName, displayOrder, help, ignored, prismContext, typeName |
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable |
---|
INDENT_STRING |
Constructor Summary | |
---|---|
ObjectClassComplexTypeDefinition(javax.xml.namespace.QName defaultName,
javax.xml.namespace.QName typeName,
PrismContext prismContext)
|
Method Summary | |
---|---|
ObjectClassComplexTypeDefinition |
clone()
Shallow clone. |
protected void |
copyDefinitionData(ObjectClassComplexTypeDefinition clone)
|
ResourceAttributeDefinition |
createAttributeDefinition(javax.xml.namespace.QName name,
javax.xml.namespace.QName typeName)
|
ResourceAttributeDefinition |
createAttributeDefinition(java.lang.String localName,
javax.xml.namespace.QName typeName)
|
ResourceAttributeDefinition |
createAttributeDefinition(java.lang.String localName,
java.lang.String localTypeName)
|
ResourceAttributeDefinition |
findAttributeDefinition(javax.xml.namespace.QName name)
Finds a attribute definition by looking at the property name. |
ResourceAttributeDefinition |
findAttributeDefinition(java.lang.String name)
|
java.util.Collection<? extends ResourceAttributeDefinition> |
getAttributeDefinitions()
|
protected java.lang.String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs. |
ResourceAttributeDefinition |
getDescriptionAttribute()
Returns the definition of description attribute of a resource object. |
ResourceAttributeDefinition |
getDisplayNameAttribute()
Returns the definition of display name attribute. |
java.util.Collection<ResourceAttributeDefinition> |
getIdentifiers()
Returns the definition of identifier attributes of a resource object. |
java.lang.String |
getIntent()
|
ResourceAttributeDefinition |
getNamingAttribute()
Specifies which resource attribute should be used as a "technical" name for the account. |
java.lang.String |
getNativeObjectClass()
Returns the native object class string for the resource object. |
java.util.Set<ResourceAttributeDefinition> |
getSecondaryIdentifiers()
Returns the definition of secondary identifier attributes of a resource object. |
ResourceAttributeContainer |
instantiate(javax.xml.namespace.QName elementName)
This may not be really "clean" as it actually does two steps instead of one. |
boolean |
isAccountType()
Indicates whether definition is should be used as account type. |
boolean |
isDefaultAccountType()
Indicates whether definition is should be used as default account type. |
boolean |
isIdentifier(javax.xml.namespace.QName attrName)
|
boolean |
isSecondaryIdentifier(javax.xml.namespace.QName attrName)
|
void |
setAccountType(boolean accountType)
|
void |
setDefaultAccountType(boolean defaultAccountType)
|
void |
setDescriptionAttribute(ResourceAttributeDefinition descriptionAttribute)
|
void |
setDisplayNameAttribute(javax.xml.namespace.QName displayName)
TODO Convenience method. |
void |
setDisplayNameAttribute(ResourceAttributeDefinition displayName)
|
void |
setIntent(java.lang.String intent)
|
void |
setNamingAttribute(javax.xml.namespace.QName namingAttribute)
|
void |
setNamingAttribute(ResourceAttributeDefinition namingAttribute)
|
void |
setNativeObjectClass(java.lang.String nativeObjectClass)
|
ResourceAttributeContainerDefinition |
toResourceAttributeContainerDefinition(javax.xml.namespace.QName elementName)
|
Methods inherited from class com.evolveum.midpoint.prism.Definition |
---|
copyDefinitionData, debugDump, dump, equals, getDefaultName, getDisplayName, getDisplayOrder, getHelp, getPrismContext, getSchemaRegistry, getTypeClass, getTypeName, hashCode, isIgnored, setDisplayName, setDisplayOrder, setHelp, setIgnored, setTypeName, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ObjectClassComplexTypeDefinition(javax.xml.namespace.QName defaultName, javax.xml.namespace.QName typeName, PrismContext prismContext)
Method Detail |
---|
public java.util.Collection<? extends ResourceAttributeDefinition> getAttributeDefinitions()
public java.util.Collection<ResourceAttributeDefinition> getIdentifiers()
java.lang.IllegalStateException
- if there is no definition for the referenced attributedpublic boolean isIdentifier(javax.xml.namespace.QName attrName)
public java.util.Set<ResourceAttributeDefinition> getSecondaryIdentifiers()
java.lang.IllegalStateException
- if there is no definition for the referenced attributedpublic boolean isSecondaryIdentifier(javax.xml.namespace.QName attrName)
public ResourceAttributeDefinition getDescriptionAttribute()
java.lang.IllegalStateException
- if there is more than one description attribute. But this
should never happen.
java.lang.IllegalStateException
- if there is no definition for the referenced attributedpublic void setDescriptionAttribute(ResourceAttributeDefinition descriptionAttribute)
public ResourceAttributeDefinition getNamingAttribute()
public void setNamingAttribute(ResourceAttributeDefinition namingAttribute)
public void setNamingAttribute(javax.xml.namespace.QName namingAttribute)
public java.lang.String getNativeObjectClass()
java.lang.IllegalStateException
- if there is more than one description attribute.public void setNativeObjectClass(java.lang.String nativeObjectClass)
public boolean isAccountType()
public void setAccountType(boolean accountType)
public boolean isDefaultAccountType()
java.lang.IllegalStateException
- if more than one default account is suggested in the schema.public void setDefaultAccountType(boolean defaultAccountType)
public java.lang.String getIntent()
public void setIntent(java.lang.String intent)
public ResourceAttributeDefinition getDisplayNameAttribute()
java.lang.IllegalStateException
- if there is more than one display name attribute or the
definition of the referenced attribute does not exist.public void setDisplayNameAttribute(ResourceAttributeDefinition displayName)
public void setDisplayNameAttribute(javax.xml.namespace.QName displayName)
displayName
- public ResourceAttributeDefinition findAttributeDefinition(javax.xml.namespace.QName name)
name
- property definition name
public ResourceAttributeDefinition findAttributeDefinition(java.lang.String name)
public ResourceAttributeDefinition createAttributeDefinition(javax.xml.namespace.QName name, javax.xml.namespace.QName typeName)
public ResourceAttributeDefinition createAttributeDefinition(java.lang.String localName, javax.xml.namespace.QName typeName)
public ResourceAttributeDefinition createAttributeDefinition(java.lang.String localName, java.lang.String localTypeName)
public ResourceAttributeContainerDefinition toResourceAttributeContainerDefinition(javax.xml.namespace.QName elementName)
public ResourceAttributeContainer instantiate(javax.xml.namespace.QName elementName)
public ObjectClassComplexTypeDefinition clone()
ComplexTypeDefinition
clone
in class ComplexTypeDefinition
protected void copyDefinitionData(ObjectClassComplexTypeDefinition clone)
protected java.lang.String getDebugDumpClassName()
ComplexTypeDefinition
getDebugDumpClassName
in class ComplexTypeDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |