public interface Classification extends ClassificationSummary
| Modifier and Type | Method and Description |
|---|---|
ClassificationSummary |
asSummary()
Return a summary of the current Classification.
|
Classification |
copy(String key)
Duplicates this Classification without the id.
|
String |
getApplicationEntryPoint()
Get the logical name of the associated application entry point.
|
Instant |
getCreated()
Get the timestamp when this classification was as created.
|
String |
getDescription()
Get the description of a classification.
|
String |
getDomain()
Get the current domain-name of this classification.
|
Boolean |
getIsValidInDomain()
Get a flag if the classification if currently valid in the used domain.
|
Instant |
getModified()
Get the timestamp when this classification was as modified the last time.
|
void |
setApplicationEntryPoint(String applicationEntryPoint)
Set the logical name of the associated application entry point.
|
void |
setCategory(String category)
Set/Change the category of this classification.
|
void |
setCustomAttribute(ClassificationCustomField customField,
String value)
Sets the value for custom Attribute.
|
void |
setDescription(String description)
Set/Change the classification description.
|
void |
setIsValidInDomain(Boolean isValidInDomain)
Set/Change the flag which marks the classification as valid/invalid in the currently used
domain.
|
void |
setName(String name)
Set/Change the classification name.
|
void |
setParentId(String parentId)
Set/Change a reference to the current parent classification via ID.
|
void |
setParentKey(String parentKey)
Set/Change a reference to the current parent classification via key.
|
void |
setPriority(int priority)
Set/Change the numeric priority of a classification.
|
void |
setServiceLevel(String serviceLevel)
Set/Change the service level.
|
copy, getCategory, getCustomAttribute, getId, getKey, getName, getParentId, getParentKey, getPriority, getServiceLevel, getTypevoid setParentId(String parentId)
parentId - The ID of the parent classification.void setParentKey(String parentKey)
parentKey - The key of the parent classification.void setCategory(String category)
category - The category of the classification.String getDomain()
getDomain in interface ClassificationSummaryString getApplicationEntryPoint()
getApplicationEntryPoint in interface ClassificationSummaryvoid setApplicationEntryPoint(String applicationEntryPoint)
applicationEntryPoint - The application entry pointClassification copy(String key)
key - for the new ClassificationBoolean getIsValidInDomain()
void setIsValidInDomain(Boolean isValidInDomain)
isValidInDomain - - flagInstant getCreated()
Instant getModified()
void setName(String name)
name - the name of the ClassificationString getDescription()
void setDescription(String description)
description - the description of the Classificationvoid setPriority(int priority)
priority - the Priority of the Classificationvoid setServiceLevel(String serviceLevel)
serviceLevel - the service level. Must be a String in ISO-8601 duration format. See the
parse() method of Duration for details.void setCustomAttribute(ClassificationCustomField customField, String value)
customField - identifies which custom attribute is to be set.value - the value of the custom attribute to be setClassificationSummary asSummary()
Copyright © 2020. All rights reserved.