Class IncompleteType

java.lang.Object
org.yamcs.xtce.util.IncompleteType

public class IncompleteType extends Object
Stores an incomplete type together with some references which if all resolved, will make the type complete.
  • Constructor Details

    • IncompleteType

      public IncompleteType(SpaceSystem spaceSystem, DataType.Builder<?> typeBuilder)
      Creates a new incomplete type together with the SpaceSystem where it should add once it is complete.
      Parameters:
      spaceSystem -
      typeBuilder -
  • Method Details

    • getTypeBuilder

      public DataType.Builder<?> getTypeBuilder()
    • scheduleCompletion

      public void scheduleCompletion()
      Schedule the addition of the type to the SpaceSystem after all references are resolved

      If there is no unresolved references, the type will be immediately added to the SpaceSystem

    • addReference

      public void addReference(NameReference ref)