types

package
v2.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2018 License: MIT Imports: 1 Imported by: 3 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const LIST_TEMPLATE = "List<%s>"

Variables

View Source
var CS_TYPE_MAP = map[string]string{
	"boolean":  "bool",
	"date":     "DateTime",
	"dateTime": "DateTime",
}
View Source
var CS_VALUE_TYPES = []string{
	"bool",
	"byte",
	"char",
	"decimal",
	"double",
	"float",
	"int",
	"long",
	"DateTime"}
View Source
var JAVA_TYPE_MAP = map[string]string{
	"string":      "String",
	"boolean":     "Boolean",
	"date":        "Date",
	"dateTime":    "Date",
	"float":       "Float",
	"double":      "Double",
	"long":        "Long",
	"int":         "Integer",
	"hovedklasse": "FintMainObject",
	"referanse":   "FintReference",
	"abstrakt":    "FintAbstractObject",
	"datatype":    "FintComplexDatatypeObject",
}

Functions

func GetCSType

func GetCSType(t string) string

func GetJavaType

func GetJavaType(t string) string

func IsValueType added in v1.6.0

func IsValueType(t string) bool

Types

type Action

type Action struct {
	Name      string
	Package   string
	Namespace string
	Classes   []string
	GitTag    string
}

type Association

type Association struct {
	Name         string
	Target       string
	Deprecated   bool
	Multiplicity string
}

type Attribute

type Attribute struct {
	Name       string
	Type       string
	List       bool
	Optional   bool
	Deprecated bool
}

type Class

type Class struct {
	Name            string
	Abstract        bool
	Deprecated      bool
	Extends         string
	Package         string
	Imports         []string
	Namespace       string
	Using           []string
	Documentation   string
	Attributes      []Attribute
	Relations       []Association
	Resources       []Attribute
	Resource        bool
	ExtendsResource bool
	Identifiable    bool
	GitTag          string
	Stereotype      string
}

type Import

type Import struct {
	Java   string
	CSharp string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL