Class ModuleOption

All Implemented Interfaces:
Orderable<ModuleOption>, Serializable, Comparable<ModuleOption>, ColumnAccessByName, ObjectModel, Persistent

public class ModuleOption extends BaseModuleOption implements Orderable<ModuleOption>
The skeleton for this class was autogenerated by Torque on: [Sun Nov 14 20:29:22 KST 2021] You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.
  • Constructor Details

    • ModuleOption

      public ModuleOption()
      새로운 ModuleOption 인스턴스를 생성한다.
  • Method Details

    • getLevel

      public int getLevel()
      Get the level in the option parent-child tree.
      Returns:
      value of level.
    • setLevel

      public void setLevel(int v)
      Get the level in the option parent-child tree.
      Parameters:
      v - Value to assign to level.
    • getModule

      public Module getModule() throws TorqueException
      DOCUMENT ME!
      Returns:
      DOCUMENT ME!
      Throws:
      TorqueException - DOCUMENT ME!
    • setModule

      public void setModule(Module module)
      DOCUMENT ME!
      Parameters:
      module - DOCUMENT ME!
    • getModuleItemType

      public ModuleItemType getModuleItemType() throws TorqueException
      DOCUMENT ME!
      Returns:
      DOCUMENT ME!
      Throws:
      TorqueException - DOCUMENT ME!
    • save

      public void save() throws Exception
      Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.
      Specified by:
      save in interface Persistent
      Overrides:
      save in class BaseModuleOption
      Throws:
      Exception - 저장 중 오류가 발생한 경우
    • save

      public void save(Connection con) throws Exception
      DOCUMENT ME!
      Specified by:
      save in interface Persistent
      Overrides:
      save in class BaseModuleOption
      Parameters:
      con - DOCUMENT ME!
      Throws:
      Exception - DOCUMENT ME!
    • getDescendants

      public List<ModuleOption> getDescendants(ItemType itemType) throws TorqueException
      Gets a list of this option's descendants That are associated with this module/itemType
      Returns:
      List of ModuleOptions
      Throws:
      TorqueException