Class TypeSystem.Builder

  • Enclosing class:
    TypeSystem

    public static class TypeSystem.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        public TypeSystem.Builder key​(String key)
        The key of the object.
        Parameters:
        key - the value to set
        Returns:
        this builder
      • modelType

        public TypeSystem.Builder modelType​(String modelType)
        The type of the object.
        Parameters:
        modelType - the value to set
        Returns:
        this builder
      • modelVersion

        public TypeSystem.Builder modelVersion​(String modelVersion)
        The model version of an object.
        Parameters:
        modelVersion - the value to set
        Returns:
        this builder
      • name

        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.

        Parameters:
        name - the value to set
        Returns:
        this builder
      • description

        public TypeSystem.Builder description​(String description)
        A user defined description for the object.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • objectVersion

        public TypeSystem.Builder objectVersion​(Integer objectVersion)
        The version of the object that is used to track changes in the object instance.
        Parameters:
        objectVersion - the value to set
        Returns:
        this builder
      • typeMappingTo

        public TypeSystem.Builder typeMappingTo​(Map<String,​String> typeMappingTo)
        The type system to map to.
        Parameters:
        typeMappingTo - the value to set
        Returns:
        this builder
      • typeMappingFrom

        public TypeSystem.Builder typeMappingFrom​(Map<String,​String> typeMappingFrom)
        The type system to map from.
        Parameters:
        typeMappingFrom - the value to set
        Returns:
        this builder
      • objectStatus

        public 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.
        Parameters:
        objectStatus - the value to set
        Returns:
        this builder
      • identifier

        public 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.

        Parameters:
        identifier - the value to set
        Returns:
        this builder