All Known Implementing Classes:
InstanceImpl

public interface Instance
External representation of an instance.
  • Method Details

    • setId

      void setId(String id)
      Sets instance ID
      Parameters:
      id -
    • getId

      String getId()
      Returns:
      Instance ID
    • setObjectType

      void setObjectType(String objectType)
      Sets object type (typically 'KLAH' or 'MARA'). This attribute indicates that a node in the configuration represents a product or an abstract class node.
      Parameters:
      objectType -
    • getObjectType

      String getObjectType()
      Returns:
      Instances object type
    • isComplete

      boolean isComplete()
      Returns:
      Instance complete?
    • setComplete

      void setComplete(boolean complete)
      Indicates that instance is complete
      Parameters:
      complete -
    • setConsistent

      void setConsistent(boolean consistent)
      Indicates that instance does not carry conflicts
      Parameters:
      consistent - Instance consistent?
    • isConsistent

      boolean isConsistent()
      Returns:
      Instance consistent?
    • setQuantityUnit

      void setQuantityUnit(String quantityUnit)
      Parameters:
      quantityUnit - in internal SAP format
    • getQuantityUnit

      String getQuantityUnit()
      Returns:
      Instance unit in internal SAP format
    • setQuantity

      void setQuantity(String quantity)
      Sets quantity
      Parameters:
      quantity -
    • getQuantity

      String getQuantity()
      Sub instances might occur n times in a BOM, therefore quantity is needed.
      Returns:
      instance quantity
    • setAuthor

      void setAuthor(String author)
      Sets instance author. Following values are possible:
      1 - action
      2 - selection condition
      3 - classification
      4 - constraint
      5 - dynamic database
      6 - static knowledgebase (e.g. bill of materials)
      7 - procedure
      8 - default
      A - monitoring rule
      B - reevaluating rule
      X - external system
      Parameters:
      author -
    • getAuthor

      String getAuthor()
      Returns:
      Instance author
    • setClassType

      void setClassType(String classType)
      Sets type of the underlying class, typically 300
      Parameters:
      classType -
    • getClassType

      String getClassType()
      Returns:
      Class type
    • setObjectText

      void setObjectText(String objectText)
      Sets language dependent text
      Parameters:
      objectText -
    • getObjectText

      String getObjectText()
      Returns:
      Language dependent text
    • setObjectKey

      void setObjectKey(String objectKey)
      Sets objects key (product ID for material BOM items)
      Parameters:
      objectKey -
    • getObjectKey

      String getObjectKey()
      Returns:
      Object key