Class TierDescription
java.lang.Object
ca.phon.extensions.ExtendableObject
ca.phon.session.TierDescription
- All Implemented Interfaces:
IExtendable
Description of a tier including name, type, parameters and alignment rules.
-
Method Summary
Modifier and TypeMethodDescriptionClass<?> getName()Get subtype delimiters (if any)Get subtype regluar expression.Parameters for the tier description.booleanReturn true if this tier include subtype delimitersbooleanReturn true if a subtype expression has been specified.booleanDoes this tier have subtype information.booleanisBlind()Is this tier a 'blind' tier or included in blind transcription.booleanShould this tier be excluded from cross tier alignmentvoidsetBlind(boolean blind) Set the blind status for this tierMethods inherited from class ca.phon.extensions.ExtendableObject
getExtension, getExtensions, putExtension, removeExtension
-
Method Details
-
getName
-
getDeclaredType
-
getTierParameters
-
isExcludeFromAlignment
public boolean isExcludeFromAlignment()Should this tier be excluded from cross tier alignment- Returns:
- true if tier is not part of cross tier alignment
-
isBlind
public boolean isBlind()Is this tier a 'blind' tier or included in blind transcription. Blind tiers are invisible for different transcribers (if blind mode is active) and may be validated when not in blind mode.- Returns:
- true if tier is included in blind transcription
-
setBlind
public void setBlind(boolean blind) Set the blind status for this tier- Parameters:
blind-
-
hasSubtypeInformation
public boolean hasSubtypeInformation()Does this tier have subtype information. This means either subtypeDelim or subtypeExpr have been specified.- Returns:
- true if subtype delimiters or regular expression is available and
the declared type of the tier is
TierData
-
hasSubtypeDelim
public boolean hasSubtypeDelim()Return true if this tier include subtype delimiters- Returns:
- true if the number of subtype delimiters > 0
-
hasSubtypeExpr
public boolean hasSubtypeExpr()Return true if a subtype expression has been specified.- Returns:
- true if this tier specified a subtype expression
-
getSubtypeDelim
-
getSubtypeExpr
Get subtype regluar expression. Groups in the expression will be used to identify part of the expression to use- Returns:
- subtype expr or null if not set
-