Admin

Aus numpedia
Zur Navigation springen Zur Suche springen
Admin hat keine Unterseiten.

COLOR

COLOR
COLOR
COLOR

geplante Erweiterungen

Extension Vategory Tree

Vorlagen

tmp

Title

Text


1+1=2




Title

Text


package de.knowledge.concept.domain.competence

import de.knowledge.concept.domain.Application
import de.knowledge.concept.domain.Level
import de.knowledge.concept.domain.reference.Information
import de.knowledge.concept.domain.reference.Section
import de.knowledge.concept.domain.security.User
import de.knowledge.concept.enums.CompetenceTag

abstract class Competence {

    String name
    String description
    String shortDescription

    User user
    Section section
    CompetenceTag competenceTag

    static hasMany = [
        applications: Application,
        levels: Level,
        informations: Information,

        sources: CompetenceRelation,
        targets: CompetenceRelation
    ]

    static mappedBy = [
        sources: 'target',
        targets: 'source'
    ]

    static belongsTo = [
        applications: Application,
        levels: Level,
        informations: Information,
        section: Section
    ]

    static mapping = {
        cache true

        id generator: 'identity', index: 'IDX_competence_id'
        description type: 'text'
        informations column: 'information_id', joinTable: 'jt_information_competence'
        levels column: 'level_id', joinTable: 'jt_level_competence'
        applications column: 'application_id', joinTable: 'jt_application_competence'
        competenceTag enumType: 'string'
    }

    static constraints = {
        name nullable: false, blank: false
        description nullable: true, blank: false, widget: 'textarea'
        shortDescription nullable: true, blank: false
        user nullable: false
        section nullable: true
        competenceTag nullable: false
    }

    @Override
    public String toString() {
        return "${this.class.simpleName} [id=${id}, name=${name}]";
    }
}





Header
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

</syntaxhighlight lang="lisp" line start=1> def quick_sort(arr): less = [] pivot_list = [] more = [] if len(arr) <= 1: return arr else: pass </syntaxhighlight>


Header

texttext



Header

texttext