public static class TypeSystem.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TypeSystem |
build() |
TypeSystem.Builder |
copy(TypeSystem model) |
TypeSystem.Builder |
description(String description)
A user defined description for the object.
|
TypeSystem.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
TypeSystem.Builder |
key(String key)
The key of the object.
|
TypeSystem.Builder |
modelType(String modelType)
The type of the object.
|
TypeSystem.Builder |
modelVersion(String modelVersion)
The model version of an object.
|
TypeSystem.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
TypeSystem.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
TypeSystem.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
TypeSystem.Builder |
parentRef(ParentReference parentRef) |
TypeSystem.Builder |
typeMappingFrom(Map<String,String> typeMappingFrom)
The type system to map from.
|
TypeSystem.Builder |
typeMappingTo(Map<String,String> typeMappingTo)
The type system to map to.
|
TypeSystem.Builder |
types(List<DataType> types)
An array of types.
|
public TypeSystem.Builder key(String key)
The key of the object.
key
- the value to setpublic TypeSystem.Builder modelType(String modelType)
The type of the object.
modelType
- the value to setpublic TypeSystem.Builder modelVersion(String modelVersion)
The model version of an object.
modelVersion
- the value to setpublic TypeSystem.Builder parentRef(ParentReference parentRef)
public TypeSystem.Builder name(String name)
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
name
- the value to setpublic TypeSystem.Builder description(String description)
A user defined description for the object.
description
- the value to setpublic TypeSystem.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic TypeSystem.Builder typeMappingTo(Map<String,String> typeMappingTo)
The type system to map to.
typeMappingTo
- the value to setpublic TypeSystem.Builder typeMappingFrom(Map<String,String> typeMappingFrom)
The type system to map from.
typeMappingFrom
- the value to setpublic TypeSystem.Builder objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
objectStatus
- the value to setpublic TypeSystem.Builder identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
identifier
- the value to setpublic TypeSystem.Builder types(List<DataType> types)
An array of types.
types
- the value to setpublic TypeSystem build()
public TypeSystem.Builder copy(TypeSystem model)
Copyright © 2016–2024. All rights reserved.