Short description of method setSubClassOf

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@param  core_kernel_classes_Class resource
@param  Class iClass
@return boolean
435226
public function setSubClassOf( core_kernel_classes_Class $resource,  core_kernel_classes_Class $iClass)
    {
        $returnValue = (bool) false;

		$subClassOf = new core_kernel_classes_Property(OntologyRdfs::RDFS_SUBCLASSOF);
		$returnValue = $this->setPropertyValue($resource, $subClassOf, $iClass->getUri());

        return (bool) $returnValue;
    }
1338440
public function setClass($pClass)
    {
        if (is_string($pClass)) {
            $this->createControllerClass($pClass);
        } elseif (is_object($pClass)) {
            $this->controller = $pClass;
        } else {
            $this->controller = $this;
        }
    }
716955
public function getAllClasses(core_kernel_classes_Class $rootClass)
    {
        $result = [
            'uri'      => $rootClass->getUri(),
            'label'    => $rootClass->getLabel(),
            'children' => $this->getSubClasses($rootClass->getSubClasses(false))
        ];

        return $result;
    }
562720
private boolean isSubTypeOfMvpView(Class<?> klass) {
    if (klass.equals(MvpView.class)) {
      return true;
    }
    Class[] superInterfaces = klass.getInterfaces();
    for (int i = 0; i < superInterfaces.length; i++) {
      if (isSubTypeOfMvpView(superInterfaces[i])) {
        return true;
      }
    }
    return false;
  }
895600
public function setClasses($classes)
    {
        if (!\is_array($classes)) {
            $classes = \explode(' ', $classes);
        }
        $this->classes = $classes;

        return $this;
    }
861543
public function addSubClass($subClass)
    {
        @trigger_error(sprintf(
            'Method "%s" is deprecated since 3.30 and will be removed in 4.0.',
            __METHOD__
        ), E_USER_DEPRECATED);

        if (!\in_array($subClass, $this->subClasses, true)) {
            $this->subClasses[] = $subClass;
        }
    }
175341
public static function update($key, $class)
    {
        $indexes = dot($key);

        self::$aliases[$indexes[0]] = array_add(self::$aliases[$indexes[0]], $indexes[1], $class);
        self::$aliases['kernel'] = config('alias.kernel');

        Aliases::set(config('alias.enable'), self::$aliases);
    }
99153
public boolean isSuperClassOf(final OClass iClass) {
    OClass cls = iClass;
    while (cls != null) {
      if (cls.getName().equals(name))
        return true;
      cls = cls.getSuperClass();
    }
    return false;
  }
877084
public function setPropertyValue( core_kernel_classes_Property $property, $object)
    {
        $returnValue = (bool) false;
        $returnValue = $this->getImplementation()->setPropertyValue($this, $property, $object);
        $this->onUpdate();
        return (bool) $returnValue;
    }
868243
public boolean isSubClassOf(final OClass iClass) {
    if (iClass == null)
      return false;

    OClass cls = this;
    while (cls != null) {
      if (cls.getName().equals(iClass.getName()))
        return true;
      cls = cls.getSuperClass();
    }
    return false;
  }
654522
public static function createSubClass( core_kernel_classes_Class $clazz, $label = '', $comment = '', $uri = '')
    {
        $returnValue = null;

        
		$class = new core_kernel_classes_Class(OntologyRdfs::RDFS_CLASS);
		$instance =  self::createInstance($class, $label, $comment, $uri);
		$returnValue = new core_kernel_classes_Class($instance->getUri());
		$returnValue->setSubClassOf($clazz);

        

        return $returnValue;
    }
517474
public OClass setSuperClass(final OClass iSuperClass) {
    getDatabase().checkSecurity(ODatabaseSecurityResources.SCHEMA, ORole.PERMISSION_UPDATE);
    final String cmd = String.format("alter class %s superclass %s", name, iSuperClass.getName());
    getDatabase().command(new OCommandSQL(cmd)).execute();
    setSuperClassInternal(iSuperClass);
    return this;
  }
157969
public static Set<Class<?>> commonSuperclasses(Iterable<Class<?>> classes) {
        Iterator<Class<?>> it = classes.iterator();
        if (!it.hasNext()) {
            return Collections.emptySet();
        }
        // begin with set from first hierarchy
        Set<Class<?>> result = getSuperclasses(it.next());
        // remove non-superclasses of remaining
        while (it.hasNext()) {
            Class<?> c = it.next();
            Iterator<Class<?>> resultIt = result.iterator();
            while (resultIt.hasNext()) {
                Class<?> sup = resultIt.next();
                if (!sup.isAssignableFrom(c)) {
                    resultIt.remove();
                }
            }
        }
        return result;
    }
1121938
public function createSubClass(core_kernel_classes_Class $parentClazz, $label = '')
    {
        if (empty($label)) {
            $label = $this->createUniqueLabel($parentClazz, true);
        }
        return $parentClazz->createSubClass($label, '');
    }
373178
@SuppressWarnings("all")
    synchronized public static <T> Set<Class<? extends T>> getNonAbstractSubClasses(Class<T> parentClass, String... packageNames) {
        return getNonAbstractSubClassInfoSet(parentClass, packageNames).stream().map(classInfo -> {
            try {
                //Here we must use parentClass's classloader to make sure we are always using the same classloader.
                return (Class<? extends T>) parentClass.getClassLoader().loadClass(classInfo.getName());
            } catch (ClassNotFoundException e) {
                SystemOutLogger.SINGLETON.error("Failed to load class " + classInfo.getName(), e, "");
                System.exit(Constant.SYSTEM_EXIT_CODE_FOR_SYS_INIT_ERROR);
                //dead code
                return null;
            }
        }).collect(Collectors.toSet());
    }
1064486
public void setClassOfObject(Class c)
    {
        m_Class = c;
        isAbstract = Modifier.isAbstract(m_Class.getModifiers());
        // TODO : Shouldn't the HashMap in DescriptorRepository be updated as well?
    }
1332018
public function isMultiple( core_kernel_classes_Resource $resource)
    {
        $returnValue = (bool) false;

        
        
        throw new core_kernel_persistence_ProhibitedFunctionException("not implemented => The function (".__METHOD__.") is not available in this persistence implementation (".__CLASS__.")");
        
        

        return (bool) $returnValue;
    }