Package com.axelor.ai.db
Class AiSkill
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.ai.db.AiSkill
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReference(AiSkillReference item) Add the givenAiSkillReferenceitem to thereferencescollection.voidClear thereferencescollection.booleangetAttrs()getCode()getId()getName()Procedures, as the skill's procedures.yaml: named, validated runs of a form's own steps.inthashCode()voidRemove the givenAiSkillReferenceitem from thereferencescollection.voidvoidvoidsetDescription(String description) voidvoidsetInstructions(String instructions) voidsetIsEnabled(Boolean isEnabled) voidvoidsetProcedures(String procedures) voidsetReferences(List<AiSkillReference> references) toString()Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOnMethods inherited from class com.axelor.db.Model
getArchived, getCid, getImportId, getVersion, isSelected, setArchived, setCid, setImportId, setSelected, setVersion
-
Constructor Details
-
AiSkill
public AiSkill() -
AiSkill
-
-
Method Details
-
getId
-
setId
-
getCode
-
setCode
-
getName
-
setName
-
getDescription
-
setDescription
-
getInstructions
-
setInstructions
-
getProcedures
Procedures, as the skill's procedures.yaml: named, validated runs of a form's own steps.- Returns:
- the property value
-
setProcedures
-
getIsEnabled
-
setIsEnabled
-
getReferences
-
setReferences
-
addReference
Add the givenAiSkillReferenceitem to thereferencescollection.It sets
item.skill = thisto ensure the proper relationship.- Parameters:
item- the item to add
-
removeReference
Remove the givenAiSkillReferenceitem from thereferencescollection.- Parameters:
item- the item to remove
-
clearReferences
public void clearReferences()Clear thereferencescollection. -
getAttrs
-
setAttrs
-
equals
-
hashCode
public int hashCode() -
toString
-