public abstract class Attributes61850Doc extends AbstractPropertiesDoc
AbstractPropertiesDoc.CellText
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CAPTION_FMT |
static java.lang.String |
INTRO_FMT |
protected static java.lang.String |
TRANSIENT
String to print in 61860-7-4 when data object is transient.
|
INHERITED_FROM
Modifier | Constructor and Description |
---|---|
protected |
Attributes61850Doc(DocgenConfig docgenCfg,
UmlObject object,
java.lang.String what,
java.lang.String headingText,
java.lang.String introText,
java.lang.String captionText,
TableSpec colSpec,
java.lang.String tableName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
deduceTypeText(UmlClass mmType,
RawData outRawData,
boolean showTorENUM,
boolean trimPrimitivePrefix,
boolean all)
Fills
outRawData with value for
"deducedTypeText"; and
"type" and
"typeKind" keys if enabled (
all=true ) and where they exist. |
private static java.lang.String |
deduceUnderlyingTypeName(UmlClass inType,
boolean isFcda,
boolean trimPrimitivePrefix)
|
protected static void |
fillPresenceConditionAndArgs(RawData entry,
PresenceCondition pc,
boolean isInherited,
java.lang.String context)
Fills appropriately raw data 'presCond', 'presCondArgs', 'presCondArgsID' and 'cond'.
|
protected static void |
fillPresenceConditionAndArgs(RawData entry,
PresenceCondition pc,
boolean isInherited,
java.lang.String context,
boolean isDerivedStats)
Fills appropriately raw data 'presCond', 'presCondArgs', 'presCondArgsID' and 'cond' if
isDerivedStats=false , otherwise 'dsPresCond', 'dsPresCondArgs',
'dsPresCondArgsID' and 'dsCond'. |
protected java.util.Collection<AttributeGroup> |
filterGroups(java.util.Collection<AttributeGroup> groups)
Returns non-empty groups, retained from
groups after applying the filters set in
configuration. |
private static java.lang.String |
splitDerivedCdcName(UmlClass inType)
Splits an enumerated CDC name to abstract CDC name (as required for writing in IEC 61850-7-4,
and as defined in IEC61850-7-3) and (primitive) enumerated type.
|
private static java.lang.String |
stripTransientFromCdcName(UmlClass type)
Strips
UML.SUFF_Transient from the class name, to "leave" only the CDC name, as
required for writing in IEC61850-7-4. |
private static java.lang.String |
trimPrimitivePrefix(java.lang.String result) |
addEntry, deduceCellText, deduceCellText, filterAssociationEnds, filterAttributes, filterOperations, getCaptionText, getCellValues, getColumnCount, getDataEntryDocs, getDeprecatedTextAsPrefix, getEntryDocs, getFormats, getHeadingEntriesCount, getInitValAsPrefix, getInitValAsSuffix, getIntroText, getRowCount, getRowKinds, getTableName, getTableSpec, initRawData, initRawData, notEmpty, toSkipInherited, toString
copyCell, copyNonEmptyCell, createDocId, filterClasses, getCell, getCells, getDescription, getDocgenCfg, getHeadingText, hasKey, log, putCell, putCellNonEmpty, toSkip, useHtml
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getDocgenCfg, getHeadingText
copyCell, copyNonEmptyCell, getCell, getCells, hasKey, putCell, putCellNonEmpty
protected static final java.lang.String TRANSIENT
public static final java.lang.String INTRO_FMT
public static final java.lang.String CAPTION_FMT
protected Attributes61850Doc(DocgenConfig docgenCfg, UmlObject object, java.lang.String what, java.lang.String headingText, java.lang.String introText, java.lang.String captionText, TableSpec colSpec, java.lang.String tableName)
protected final java.util.Collection<AttributeGroup> filterGroups(java.util.Collection<AttributeGroup> groups)
groups
after applying the filters set in
configuration.protected void deduceTypeText(UmlClass mmType, RawData outRawData, boolean showTorENUM, boolean trimPrimitivePrefix, boolean all)
outRawData
with value for
"deducedTypeText"; and
"type" and
"typeKind" keys if enabled (
all=true
) and where they exist.mmType
- outRawData
- in/out argument, filled here.showTorENUM
- set this one to true when writing index for LNs and the attribute is a transient
CDC; or when printing actual CDC tables and the attribute is some kind of enum.trimPrimitivePrefix
- set this one to true when dealing with an FCDA as type, for both CDC tables and
CDC attributes index - because we search for actual underlying types for e.g.
enums and composed DAs, for primitive/structured DAs it's the "real" primitive
type that gets picked (with /), and we
don't want to display that one in 7-3.all
- if true, will set all potential fields; otherwise, will set only
"deducedTypeText".private static final java.lang.String deduceUnderlyingTypeName(UmlClass inType, boolean isFcda, boolean trimPrimitivePrefix)
private static java.lang.String trimPrimitivePrefix(java.lang.String result)
private static java.lang.String stripTransientFromCdcName(UmlClass type)
UML.SUFF_Transient
from the class name, to "leave" only the CDC name, as
required for writing in IEC61850-7-4.private static java.lang.String splitDerivedCdcName(UmlClass inType)
Implementation note:
inType
- protected static void fillPresenceConditionAndArgs(RawData entry, PresenceCondition pc, boolean isInherited, java.lang.String context)
protected static void fillPresenceConditionAndArgs(RawData entry, PresenceCondition pc, boolean isInherited, java.lang.String context, boolean isDerivedStats)
isDerivedStats=false
, otherwise 'dsPresCond', 'dsPresCondArgs',
'dsPresCondArgsID' and 'dsCond'.Copyright 2009-2015 Tatjana (Tanja) Kostic