/** * Calculates the complete model oid from the model. */ public String getCompleteModelOID() { return appendContextId(model.retrieveInternalModelId()); }
/** * parses a full connector id (format <domainType>+<connectorType>+<instanceId>) and sets the corresponding values * in the event. Example: "scm+git+projectx-main-repo" */ public void parseConnectorId(String connectorId) { ConnectorId id = ConnectorId.fromFullId(connectorId); domainId = id.getDomainType(); connectorId = id.getConnectorType(); instanceId = id.getInstanceId(); }
/** * Calls the corresponding method in the wrapped model. */ @Override public List<OpenEngSBModelEntry> toOpenEngSBModelEntries() { return model.toOpenEngSBModelEntries(); }
public Context toContext() { ContextId contextId = ContextId.fromMetaData(this.getMetaData()); Context c = new Context(); c.setId(contextId.getId()); return c; }
/** * Creates a new QueryRequest object and adds the given first parameter. */ public static QueryRequest query(String key, Object value) { return QueryRequest.create().addParameter(key, value); }
/** * Calls the corresponding method in the wrapped model. */ @Override public String retrieveModelName() { return model.retrieveModelName(); }
/** * reconstructs the original object the {@link BeanDescription} is representing. */ public Object toObject() { Class<?> beanType = getBeanType(); return toObject(beanType); }
/** * Calls the corresponding method in the wrapped model. */ @Override public void addOpenEngSBModelEntry(OpenEngSBModelEntry entry) { model.addOpenEngSBModelEntry(entry); }
/** * Calls the corresponding method in the wrapped model. */ @Override public String retrieveModelVersion() { return model.retrieveModelVersion(); }
/** * Calls the corresponding method in the wrapped model. */ @Override public Long retrieveInternalModelTimestamp() { return model.retrieveInternalModelTimestamp(); }
/** * Calls the corresponding method in the wrapped model. */ @Override public void setOpenEngSBModelTail(List<OpenEngSBModelEntry> entries) { model.setOpenEngSBModelTail(entries); }
/** * Calls the corresponding method in the wrapped model. */ @Override public void removeOpenEngSBModelEntry(String key) { model.removeOpenEngSBModelEntry(key); }
/** * Calls the corresponding method in the wrapped model. */ @Override public List<OpenEngSBModelEntry> getOpenEngSBModelTail() { return model.getOpenEngSBModelTail(); }
/** * Creates a new QueryRequest object with no parameters. */ public static QueryRequest create() { return new QueryRequest(); }
public File returnFile() throws IOException { if (file == null) { deserialize(); } return file; }
/** * Calls the corresponding method in the wrapped model. */ @Override public List<OpenEngSBModelEntry> toOpenEngSBModelValues() { return model.toOpenEngSBModelValues(); }
/** * Calls the corresponding method in the wrapped model. */ @Override public String retrieveInternalModelIdName() { return model.retrieveInternalModelIdName(); }
/** * Calls the corresponding method in the wrapped model. */ @Override public Integer retrieveInternalModelVersion() { return model.retrieveInternalModelVersion(); }
public byte[] getContent() throws IOException { if (content == null) { serialize(); } return content; }
/** * Calls the corresponding method in the wrapped model. */ @Override public Object retrieveInternalModelId() { return model.retrieveInternalModelId(); }