public class SubTopic extends BaseObject
Constructor and Description |
---|
SubTopic()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Topic |
getLinkTopicFromParent()
Subtopic from level 2 does not have topic because of rule { topic of the highest parent subtopic at level 1.
|
SubTopic |
getParentSubTopic()
Returns the parent subtopic.
|
Long |
getParentSubTopicId()
Returns the id of the parent subtopic.
|
Topic |
getTopic()
Returns the topic this subtopic belongs to.
|
Long |
getTopicId()
Returns the id of the topic.
|
void |
setParentSubTopic(SubTopic parentSubTopic)
Is the parent subtopic to set.
|
void |
setParentSubTopicId(Long parentSubTopicId)
Hidden method.
|
void |
setTopic(Topic topic) |
equals, getCode, getExternalName, getId, getInstitutionCode, getShortName, hashCode, setCode, setExternalName, setId, setInstitutionCode, setShortName, toString
public Topic getLinkTopicFromParent()
public Long getParentSubTopicId()
null
if {public void setParentSubTopicId(Long parentSubTopicId)
public SubTopic getParentSubTopic()
public void setParentSubTopic(SubTopic parentSubTopic)
public Topic getTopic()
public void setTopic(Topic topic)
public Long getTopicId()
Copyright © 2021. All rights reserved.