Class CourseType

java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<T>
org.beangle.commons.entity.pojo.Code<Integer>
org.openurp.base.edu.code.model.CourseType
All Implemented Interfaces:
Serializable, Comparable<Object>, org.beangle.commons.entity.Entity<Integer>, org.beangle.commons.entity.TemporalOn

@Entity(name="org.openurp.base.edu.code.model.CourseType")
public class CourseType
extends org.beangle.commons.entity.pojo.Code<Integer>
课程类别
Since:
2005-9-7
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class org.beangle.commons.entity.pojo.Code

    beginOn, code, endOn, enName, name, updatedAt

    Fields inherited from class org.beangle.commons.entity.pojo.NumberIdObject

    id
  • Constructor Summary

    Constructors
    Constructor Description
    CourseType()  
    CourseType​(Integer id)  
  • Method Summary

    Modifier and Type Method Description
    boolean isMajor()  
    boolean isOptional()  
    boolean isPractical()  
    void setMajor​(boolean major)  
    void setOptional​(boolean optional)  
    void setPractical​(boolean practical)  

    Methods inherited from class org.beangle.commons.entity.pojo.Code

    compareTo, getBeginOn, getCode, getEndOn, getEnName, getName, getUpdatedAt, hasExtPros, setBeginOn, setCode, setEndOn, setEnName, setName, setUpdatedAt, toString

    Methods inherited from class org.beangle.commons.entity.pojo.NumberIdObject

    equals, getId, hashCode, isPersisted, isTransient, setId

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CourseType

      public CourseType()
    • CourseType

      public CourseType​(Integer id)
  • Method Details

    • isPractical

      public boolean isPractical()
    • setPractical

      public void setPractical​(boolean practical)
    • isMajor

      public boolean isMajor()
    • setMajor

      public void setMajor​(boolean major)
    • isOptional

      public boolean isOptional()
    • setOptional

      public void setOptional​(boolean optional)