Interface ConfigurationItem

    • Method Detail

      • getId

        java.lang.String getId()
        Returns:
        The id of the CI.
      • setId

        void setId​(java.lang.String id)
        Sets The id of the CI.
      • getName

        java.lang.String getName()
        Returns:
        The name of the CI.
      • getType

        Type getType()
        Returns:
        The type metadata for this CI.
      • getProperty

        <T> T getProperty​(java.lang.String key)
        Type Parameters:
        T - The type of the property.
        Parameters:
        key - The name of the property.
        Returns:
        The value of type T of the property.
      • hasProperty

        boolean hasProperty​(java.lang.String key)
        Parameters:
        key - The name of the property.
        Returns:
        True if the CI has a added property with the given name.
      • setProperty

        <T> void setProperty​(java.lang.String key,
                             T value)
        Adds a custom property of a generic type to the CI.
        Type Parameters:
        T - The type of the property.
        Parameters:
        key - The name of the property.
        value - The value of type T of the property.
      • get$validationMessages

        java.util.List<ValidationMessage> get$validationMessages()
        Gets the validation messages set on the ConfigurationItem.
        Returns:
        a List<ValidationMessage>
      • get$internalId

        java.lang.Integer get$internalId()
        Returns:
        The internal ID of ConfigurationItem.
      • get$securedCi

        java.lang.Integer get$securedCi()
        Returns:
        The ID of secured CI which determines ConfigurationItem's permissions.
      • get$directoryReference

        java.lang.String get$directoryReference()
        Returns:
        The UUID of ConfigurationItem's directory.