Skip to content

Commit

Permalink
Nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferdinando Villa committed Nov 26, 2023
1 parent c11e136 commit abf3e6a
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ public Collection<ResolutionException> getResolutionExceptions() {
public List<Pair<ValueOperator, Literal>> getValueOperators() {
return this.valueOperators;
}

@Override
public String getAttributeIdentifier() {
return this.attributeIdentifier;
}
//
// @Override
// public String getAttributeIdentifier() {
// return this.attributeIdentifier;
// }

@Override
public boolean isOptional() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ public interface KimObservable extends KimStatement, KlabAsset {
*/
List<Pair<ValueOperator, Literal>> getValueOperators();

/**
* If the observable specification had an identifier (rather than a literal value) before an
* 'as' clause introducing the semantics, this will return it and the {@link #getValue()} method
* will return null. The interpretation of the identifier is context-dependent as it may refer
* to a value previously defined in a 'define' statement, or to an attribute to be looked up in
* a referenced resource.
*
* @return true if identified by an attribute to be resolved
*/
String getAttributeIdentifier();
// /**
// * If the observable specification had an identifier (rather than a literal value) before an
// * 'as' clause introducing the semantics, this will return it and the {@link #getValue()} method
// * will return null. The interpretation of the identifier is context-dependent as it may refer
// * to a value previously defined in a 'define' statement, or to an attribute to be looked up in
// * a referenced resource.
// *
// * @return true if identified by an attribute to be resolved
// */
// String getAttributeIdentifier();

/**
* True if the 'optional' clause has been passed.
Expand Down
2 changes: 1 addition & 1 deletion klab.services.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>6.4.0.202211300538-r</version>
<version>6.5.0.202303070854-r</version>
</dependency>

<!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ public ResourcesProvider(Authentication authenticationService, ServiceScope scop

@Override
public void initializeService() {

scope().send(Message.MessageClass.ServiceLifecycle, Message.MessageType.ServiceInitializing,
capabilities());
this.kbox = ModelKbox.create(localName, this.scope);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@
*/
public class LanguageAdapter {



public KimObservable adaptObservable(ObservableSyntax observableSyntax) {

KimObservableImpl ret = new KimObservableImpl();

ret.setUrn(observableSyntax.encode());
ret.setSemantics(adaptSemantics(observableSyntax.getSemantics()));
ret.setUnit(observableSyntax.getUnit());
ret.setCurrency(observableSyntax.getCurrency());

for (var valueOperator : observableSyntax.getValueOperators()) {

}

return ret;
}
Expand Down

0 comments on commit abf3e6a

Please sign in to comment.