Package net.sf.okapi.common.resource
Class StartGroup
- java.lang.Object
-
- net.sf.okapi.common.resource.BaseNameable
-
- net.sf.okapi.common.resource.BaseReferenceable
-
- net.sf.okapi.common.resource.StartGroup
-
- All Implemented Interfaces:
Cloneable
,IResource
,IMultilingual
,INameable
,IReferenceable
,IWithAnnotations
,IWithProperties
,IWithSkeleton
,IWithSourceProperties
,IWithTargetProperties
- Direct Known Subclasses:
StartSubfilter
public class StartGroup extends BaseReferenceable implements IMultilingual
Resource associated with the filter event START_GROUP.
-
-
Field Summary
-
Fields inherited from class net.sf.okapi.common.resource.BaseReferenceable
parentId, refCount
-
Fields inherited from class net.sf.okapi.common.resource.BaseNameable
id, isTranslatable, mimeType, name, preserveWS, type
-
Fields inherited from interface net.sf.okapi.common.IResource
COPY_ALL, COPY_CONTENT, COPY_PROPERTIES, COPY_SEGMENTATION, COPY_SEGMENTED_CONTENT, CREATE_EMPTY
-
-
Constructor Summary
Constructors Constructor Description StartGroup()
StartGroup(String parentId)
Creates a new StartGroup object.StartGroup(String parentId, String id)
Creates a new startGroup object with the identifier of the group's parent and the group's identifier.StartGroup(String parentId, String id, boolean isReference)
Creates a new startGroup object with the identifier of the group's parent, the group's identifier, and an indicator of whether this group is a referent or not.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Property>
getSourceProperties()
-
Methods inherited from class net.sf.okapi.common.resource.BaseReferenceable
getParentId, getReferenceCount, isReferent, setIsReferent, setParentId, setReferenceCount
-
Methods inherited from class net.sf.okapi.common.resource.BaseNameable
getAnnotation, getAnnotations, getId, getMimeType, getName, getProperties, getProperty, getPropertyNames, getSkeleton, getType, hasProperty, isTranslatable, preserveWhitespaces, removeProperty, setAnnotation, setId, setIsTranslatable, setMimeType, setName, setPreserveWhitespaces, setProperty, setSkeleton, setType, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.okapi.common.resource.INameable
getMimeType, getName, getType, isTranslatable, preserveWhitespaces, setIsTranslatable, setMimeType, setName, setPreserveWhitespaces, setType
-
Methods inherited from interface net.sf.okapi.common.resource.IWithAnnotations
annotationIterator, clear, getAnnotation, getAnnotations, getAnnotationsTypesAsSet, hasAnnotation, hasAnnotations, remove, setAnnotation
-
Methods inherited from interface net.sf.okapi.common.resource.IWithProperties
getProperties, getProperty, getPropertyNames, hasProperty, propertyIterator, removeProperty, setProperty
-
Methods inherited from interface net.sf.okapi.common.resource.IWithSkeleton
getSkeleton, setSkeleton
-
Methods inherited from interface net.sf.okapi.common.resource.IWithSourceProperties
getSourceProperty, getSourcePropertyNames, hasSourceProperty, removeSourceProperty, setSourceProperty
-
Methods inherited from interface net.sf.okapi.common.resource.IWithTargetProperties
createTargetProperty, createTargetProperty, getAnnotations, getTargetLocales, getTargetProperties, getTargetProperty, getTargetPropertyNames, hasTargetProperty, removeTargetProperty, setTargetProperty
-
-
-
-
Constructor Detail
-
StartGroup
public StartGroup()
-
StartGroup
public StartGroup(String parentId)
Creates a new StartGroup object.- Parameters:
parentId
- The identifier of the parent resource for this group.
-
StartGroup
public StartGroup(String parentId, String id)
Creates a new startGroup object with the identifier of the group's parent and the group's identifier.- Parameters:
parentId
- the identifier of the parent resource for this group.id
- the identifier of this group.
-
StartGroup
public StartGroup(String parentId, String id, boolean isReference)
Creates a new startGroup object with the identifier of the group's parent, the group's identifier, and an indicator of whether this group is a referent or not.- Parameters:
parentId
- the identifier of the parent resource for this group.id
- the identifier of this group.isReference
- true if this group is referred by another resource.
-
-
Method Detail
-
getSourceProperties
public Map<String,Property> getSourceProperties()
- Specified by:
getSourceProperties
in interfaceIWithSourceProperties
- Returns:
Map
of source properties for the implementer of interface
-
-