Tabnine Logo
ResourceAttributeContainerDefinition.getTypeName
Code IndexAdd Tabnine to your IDE (free)

How to use
getTypeName
method
in
com.evolveum.midpoint.schema.processor.ResourceAttributeContainerDefinition

Best Java code snippets using com.evolveum.midpoint.schema.processor.ResourceAttributeContainerDefinition.getTypeName (Showing top 5 results out of 315)

origin: Evolveum/midpoint

public ObjectClass objectClassToConnId(PrismObject<? extends ShadowType> shadow, String schemaNamespace, ConnectorType connectorType, boolean legacySchema) {
  ShadowType shadowType = shadow.asObjectable();
  QName qnameObjectClass = shadowType.getObjectClass();
  if (qnameObjectClass == null) {
    ResourceAttributeContainer attrContainer = ShadowUtil.getAttributesContainer(shadowType);
    if (attrContainer == null) {
      return null;
    }
    ResourceAttributeContainerDefinition objectClassDefinition = attrContainer.getDefinition();
    qnameObjectClass = objectClassDefinition.getTypeName();
  }
  return objectClassToConnId(qnameObjectClass, schemaNamespace, connectorType, legacySchema);
}
origin: Evolveum/midpoint

if (def instanceof ResourceAttributeContainerDefinition) {
  ResourceAttributeContainerDefinition rdef = (ResourceAttributeContainerDefinition) def;
  assertNotEmpty("No type name in object class", rdef.getTypeName());
  assertNotEmpty("No native object class for " + rdef.getTypeName(),
      rdef.getNativeObjectClass());
  assertNotEmpty("No name for " + rdef.getTypeName(), rdef.getName());
origin: Evolveum/midpoint

    .findOrCreateContainer(ShadowType.F_ATTRIBUTES);
ResourceAttributeContainerDefinition attributesContainerDefinition = attributesContainer.getDefinition();
shadow.setObjectClass(attributesContainerDefinition.getTypeName());
      throw new SchemaException("Unknown attribute " + qname + " in definition of object class " + attributesContainerDefinition.getTypeName()
      + ". Original ConnId name: " + connIdAttr.getName() + " in resource object identified by " + co.getName(), qname);
origin: Evolveum/midpoint

resultShadowType.setObjectClass(resourceAttributesContainer.getDefinition().getTypeName());
origin: Evolveum/midpoint

repoShadowType.setObjectClass(attributesContainer.getDefinition().getTypeName());
com.evolveum.midpoint.schema.processorResourceAttributeContainerDefinitiongetTypeName

Popular methods of ResourceAttributeContainerDefinition

  • findAttributeDefinition
  • getComplexTypeDefinition
  • getAllIdentifiers
  • getDefinitions
  • getNativeObjectClass
  • debugDump
  • getDisplayNameAttribute
  • getIntent
  • getKind
  • getName
  • getNamingAttribute
  • getPrimaryIdentifiers
  • getNamingAttribute,
  • getPrimaryIdentifiers,
  • getSecondaryIdentifiers,
  • isDefaultInAKind,
  • toShadowDefinition

Popular in Java

  • Parsing JSON documents to java classes using gson
  • addToBackStack (FragmentTransaction)
  • getApplicationContext (Context)
  • setContentView (Activity)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now