Package org.openurp.edu.clazz.model
Class RestrictionItem
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<Long>
-
- org.beangle.commons.entity.pojo.LongIdObject
-
- org.openurp.edu.clazz.model.RestrictionItem
-
- All Implemented Interfaces:
Serializable,Cloneable,org.beangle.commons.entity.Entity<Long>
@Entity(name="org.openurp.edu.clazz.model.RestrictionItem") public class RestrictionItem extends org.beangle.commons.entity.pojo.LongIdObject implements Cloneable
课程限制项- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestrictionItem()RestrictionItem(RestrictionMeta meta, String content, boolean inclusive)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Objectclone()StringgetContent()StringgetContentForHql()Deprecated.RestrictionMetagetMeta()RestrictiongetRestriction()booleanisInclusive()voidsetContent(String content)voidsetInclusive(boolean inclusive)voidsetMeta(RestrictionMeta meta)voidsetRestriction(Restriction restriction)StringtoString()
-
-
-
Constructor Detail
-
RestrictionItem
public RestrictionItem()
-
RestrictionItem
public RestrictionItem(RestrictionMeta meta, String content, boolean inclusive)
-
-
Method Detail
-
getMeta
public RestrictionMeta getMeta()
-
setMeta
public void setMeta(RestrictionMeta meta)
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getRestriction
public Restriction getRestriction()
-
setRestriction
public void setRestriction(Restriction restriction)
-
isInclusive
public boolean isInclusive()
-
setInclusive
public void setInclusive(boolean inclusive)
-
getContentForHql
@Deprecated public String getContentForHql()
Deprecated.- See Also:
CourseLimitItemContentProvider,CourseLimitItemContentProviderFactory,CourseLimitMetaEnum
-
-