Class Topic
- java.lang.Object
-
- org.alfresco.governance.classification.model.Topic
-
@Validated public class Topic extends Object
Topic
-
-
Constructor Summary
Constructors Constructor Description Topic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopicclassificationGuide(ClassificationGuideInTopic classificationGuide)TopiccreatedAt(OffsetDateTime createdAt)Topicdescription(String description)booleanequals(Object o)@Valid ClassificationGuideInTopicgetClassificationGuide()Get classificationGuide@NotNull @Valid OffsetDateTimegetCreatedAt()Get createdAtStringgetDescription()Get description@NotNull StringgetId()Get id@Valid InstructiongetInstruction()Get instruction@NotNull StringgetName()Get name@Valid PathgetPath()Get pathinthashCode()TopichasInstruction(Boolean hasInstruction)TopichasSubtopics(Boolean hasSubtopics)Topicid(String id)Topicinstruction(Instruction instruction)@NotNull BooleanisHasInstruction()Flag indicating whether the topic has an instruction or not.BooleanisHasSubtopics()Flag indicating whether the topic has subtopics.Topicname(String name)Topicpath(Path path)voidsetClassificationGuide(ClassificationGuideInTopic classificationGuide)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDescription(String description)voidsetHasInstruction(Boolean hasInstruction)voidsetHasSubtopics(Boolean hasSubtopics)voidsetId(String id)voidsetInstruction(Instruction instruction)voidsetName(String name)voidsetPath(Path path)StringtoString()
-
-
-
Method Detail
-
getId
@NotNull public @NotNull String getId()
Get id- Returns:
- id
-
setId
public void setId(String id)
-
getName
@NotNull public @NotNull String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
Get description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
isHasInstruction
@NotNull public @NotNull Boolean isHasInstruction()
Flag indicating whether the topic has an instruction or not.- Returns:
- hasInstruction
-
setHasInstruction
public void setHasInstruction(Boolean hasInstruction)
-
instruction
public Topic instruction(Instruction instruction)
-
getInstruction
@Valid public @Valid Instruction getInstruction()
Get instruction- Returns:
- instruction
-
setInstruction
public void setInstruction(Instruction instruction)
-
createdAt
public Topic createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@NotNull @Valid public @NotNull @Valid OffsetDateTime getCreatedAt()
Get createdAt- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
isHasSubtopics
public Boolean isHasSubtopics()
Flag indicating whether the topic has subtopics. This field is only included when requested.- Returns:
- hasSubtopics
-
setHasSubtopics
public void setHasSubtopics(Boolean hasSubtopics)
-
getPath
@Valid public @Valid Path getPath()
Get path- Returns:
- path
-
setPath
public void setPath(Path path)
-
classificationGuide
public Topic classificationGuide(ClassificationGuideInTopic classificationGuide)
-
getClassificationGuide
@Valid public @Valid ClassificationGuideInTopic getClassificationGuide()
Get classificationGuide- Returns:
- classificationGuide
-
setClassificationGuide
public void setClassificationGuide(ClassificationGuideInTopic classificationGuide)
-
-