// CategoryTypeIsUnknown checks whether a valid parent 'CategoryTypeId' is provided for this 'Category' instance or not.
CategoryTypeIsUnknown()bool
// AssertCategoryTypeIsProvided asserts that a valid 'CategoryTypeId' is provided for this 'Category' instance. A panic will occur if the assertion is not valid.
AssertCategoryTypeIsProvided()
// AssertCategoryType asserts the given 'CategoryTypeId' is in fact the parent of this 'Category' instance. A panic will occur if the assertion is not valid.
AssertCategoryType(categoryTypeIdint64)
// CategoryId returns parent 'CategoryId' of this 'Category' instance.
CategoryId()int64
// AssertBelongsToCategory checks whether this 'Category' instance is a child of the specified 'Category'
AssertBelongsToCategory(categoryICategory)
// CategoryIsUnknown checks whether a valid parent 'CategoryId' is provided for this 'Category' instance or not.
CategoryIsUnknown()bool
// AssertCategoryIsProvided asserts that a valid 'CategoryId' is provided for this 'Category' instance. A panic will occur if the assertion is not valid.
AssertCategoryIsProvided()
// AssertCategory asserts the given 'CategoryId' is in fact the parent of this 'Category' instance. A panic will occur if the assertion is not valid.
AssertCategory(categoryIdint64)
// Title returns 'Title' of this 'Category' instance.
Title()string
// UpdateTitle directly updates 'Title' into persistent data store and
// refreshes the in-memory cache after successful update.
UpdateTitle(titlestring,editorIdentity)
// UpdateTitleAtomic updates 'Title' into persistent data store through a transaction and
// refreshes the in-memory cache after successful commit.