return Collections.emptyMap();
}
public DataControlDefinition getDataControlDefinition() {
// not required by interface or superclass, but is required by most implementers of this interface
Definition parent = getDefinitionParent();
if (parent instanceof StructureDefinition) {
return ((StructureDefinition) parent).getDataControlDefinition();
} else if (parent instanceof VariableDefinition) {
return ((VariableDefinition) parent).getDataControlDefinition();
} else if (parent instanceof DataControlDefinition) {
return (DataControlDefinition) parent;
} else if (parent == null) {
return null;
} else {
throw new IllegalStateException("unsupported definition parent type " + parent.getClass());
}
}