psdi.app.bim.parser.cobie

Class ItemJOB

  • All Implemented Interfaces:
    Item


    public class ItemJOB
    extends ItemBase
    • Constructor Detail

      • ItemJOB

        public ItemJOB()
    • Method Detail

      • isDuplicat

        public boolean isDuplicat(Parser parser,
                                  Item item)
        Description copied from interface: Item
        Called if an item with an identical name is found.
        Specified by:
        isDuplicat in interface Item
        Overrides:
        isDuplicat in class ItemBase
        Returns:
        false to prevent the item from being added, true to allow item to be added
      • resolveRerefences

        public void resolveRerefences(Parser project,
                                      long flags)
        Description copied from interface: Item
        Attempts to establish all the links specified in the various COBie sheet
        Specified by:
        resolveRerefences in interface Item
        Overrides:
        resolveRerefences in class ItemBase
      • addTask

        public void addTask(JobTask task)
      • getPageId

        public java.lang.String getPageId()
        Returns:
        The COBie tab name for the object
      • findTaskByName

        public JobTask findTaskByName(java.lang.String name)
      • getJobType

        public int getJobType()
      • addResource

        public void addResource(ItemRESOURCE resource)
      • resources

        public java.util.Enumeration resources()
      • getStatus

        public java.lang.String getStatus()
      • setStatus

        public void setStatus(java.lang.String status)
      • getTypeName

        public java.lang.String getTypeName()
      • setTypeName

        public void setTypeName(java.lang.String typeName)
      • getTypeReference

        public ItemTYPE[] getTypeReference()
      • setTypeReference

        public void setTypeReference(ItemTYPE[] typeReferences)
      • getDuration

        public java.lang.String getDuration()
      • setDuration

        public void setDuration(java.lang.String duration)
      • getDurationUnit

        public java.lang.String getDurationUnit()
      • getDurationUnitType

        public int getDurationUnitType()
      • setDurationUnit

        public void setDurationUnit(java.lang.String durationUnit)
      • getStart

        public java.lang.String getStart()
      • setStart

        public void setStart(java.lang.String start)
      • getTaskStartUnit

        public java.lang.String getTaskStartUnit()
      • setTaskStartUnit

        public void setTaskStartUnit(java.lang.String taskStartUnit)
      • getFrequency

        public java.lang.String getFrequency()
      • setFrequency

        public void setFrequency(java.lang.String frequency)
      • getFrequencyUnit

        public java.lang.String getFrequencyUnit()
      • setFrequencyUnit

        public void setFrequencyUnit(java.lang.String frequencyUnit)
      • getTaskNumber

        public java.lang.String getTaskNumber()
      • setTaskNumber

        public void setTaskNumber(java.lang.String taskNumber)
      • getPriors

        public java.lang.String getPriors()
      • setPriors

        public void setPriors(java.lang.String priors)
      • getResource

        public java.util.Enumeration getResource()
      • getResourceNames

        public java.lang.String getResourceNames()
      • setResourceNames

        public void setResourceNames(java.lang.String resourceNames)
      • addResourceNames

        public void addResourceNames(java.lang.String resourceNames)
      • skip

        public boolean skip(Parser parser,
                            long flags)
        Description copied from interface: Item
        Called after the item is loaded but before it is added to a page.
        Specified by:
        skip in interface Item
        Overrides:
        skip in class ItemBase
        Returns:
        true causes the item to be discarded
      • tasks

        public java.util.Iterator tasks()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class ItemBase
      • durationStringToUnits

        public static int durationStringToUnits(java.lang.String duration)
      • export

        public void export(Exporter exporter)
        Description copied from interface: Item
        Exported representation of Item
        Specified by:
        export in interface Item
        Overrides:
        export in class ItemBase
        Parameters:
        exporter - tool used to export item