Package net.sf.okapi.lib.xliff2.its
Class Domain
- java.lang.Object
-
- net.sf.okapi.lib.xliff2.its.DataCategory
-
- net.sf.okapi.lib.xliff2.its.Domain
-
- All Implemented Interfaces:
IITSItem
public class Domain extends DataCategory
Implements the Domain data category.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IITSItemcreateCopy()Creates a deep-copy clone of this item.StringgetDataCategoryName()Gets the id/name of this data category.StringgetDomain()voidsetDomain(String domain)voidvalidate()Validates the data category.-
Methods inherited from class net.sf.okapi.lib.xliff2.its.DataCategory
getAnnotatorRef, hasUnresolvedGroup, isGroup, setAnnotatorRef, setAnnotatorRef
-
-
-
-
Method Detail
-
getDataCategoryName
public String getDataCategoryName()
Description copied from interface:IITSItemGets the id/name of this data category.- Returns:
- the id/name of this data category.
-
validate
public void validate()
Description copied from interface:IITSItemValidates the data category. Checks if all required attributes are set properly.
-
createCopy
public IITSItem createCopy()
Description copied from interface:IITSItemCreates a deep-copy clone of this item.- Returns:
- the duplicated item.
-
getDomain
public String getDomain()
-
setDomain
public void setDomain(String domain)
-
-