Admin
Admin hat keine Unterseiten.
COLOR
COLOR
COLOR
COLOR
geplante Erweiterungen
Vorlagen
tmp
Title
Text
1+1=2
Title
Text
package de.haw.cf.domain.competence
import de.haw.cf.domain.Application
import de.haw.cf.domain.Level
import de.haw.cf.domain.reference.Information
import de.haw.cf.domain.reference.Section
import de.haw.cf.domain.security.User
import de.haw.cf.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 | |
text | text |
Header | |
text | text |