Codota Logo
ArchiveDetails.getInstId
Code IndexAdd Codota to your IDE (free)

How to use
getInstId
method
in
org.ccsds.moims.mo.com.archive.structures.ArchiveDetails

Best Java code snippets using org.ccsds.moims.mo.com.archive.structures.ArchiveDetails.getInstId (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: int.esa.nmf.core.moservices.impl/ccsds-com

public static UIntegerList checkForDuplicates(ArchiveDetailsList archiveDetailsList) {
  UIntegerList dupList = new UIntegerList();
  for (int i = 0; i < archiveDetailsList.size() - 1; i++) {
    if (archiveDetailsList.get(i).getInstId().intValue() == 0) { // Wildcard? Then jump over it
      continue;
    }
    for (int j = i + 1; j < archiveDetailsList.size(); j++) {
      if (archiveDetailsList.get(i).getInstId().intValue() == archiveDetailsList.get(j).getInstId().intValue()) {
        dupList.add(new UInteger(j));
      }
    }
  }
  return dupList;
}
origin: int.esa.nmf.core.moservices.impl/ccsds-com

public COMObjectStructure(final IdentifierList domain, final ObjectType objType,
    final ArchiveDetails archiveDetails, final Element object) {
  this.objType = objType;
  this.domain = domain;
  this.objId = archiveDetails.getInstId();
  this.sourceLink = archiveDetails.getDetails().getSource();
  this.relatedLink = archiveDetails.getDetails().getRelated();
  this.network = archiveDetails.getNetwork();
  this.timestamp = archiveDetails.getTimestamp();
  this.providerURI = archiveDetails.getProvider();
  this.object = object;
}
origin: int.esa.nmf.core.moservices.impl/ccsds-mc

defId = defArchiveDetails.getInstId();
maxTimeStamp = itemTimestamp;
origin: int.esa.nmf.core.moservices.impl/ccsds-com

protected void updateEntries(final ObjectType objType, final IdentifierList domain,
    final ArchiveDetailsList lArchiveDetails, final ElementList objects, final MALInteraction interaction) {
  final int domainId = this.fastDomain.getDomainId(domain);
  final Integer objTypeId = this.fastObjectType.getObjectTypeId(objType);
  final ArrayList<COMObjectEntity> newObjs = new ArrayList<COMObjectEntity>();
  final LongList objIds = new LongList();
  // Generate the object Ids if needed and the persistence objects to be stored
  for (int i = 0; i < lArchiveDetails.size(); i++) {
    final Integer providerURIId = this.fastProviderURI.getProviderURIId(lArchiveDetails.get(i).getProvider());
    final Integer networkId = this.fastNetwork.getNetworkId(lArchiveDetails.get(i).getNetwork());
    // If there are no objects in the list, inject null...
    Object objBody = (objects == null) ? null : ((objects.get(i) == null) ? null : objects.get(i));
    SourceLinkContainer sourceLink = this.createSourceContainerFromObjectId(lArchiveDetails.get(i).getDetails().getSource());
    final COMObjectEntity newObj = new COMObjectEntity(
        objTypeId,
        domainId,
        lArchiveDetails.get(i).getInstId(),
        lArchiveDetails.get(i).getTimestamp().getValue(),
        providerURIId,
        networkId,
        sourceLink,
        lArchiveDetails.get(i).getDetails().getRelated(),
        objBody); // 0.170 ms
    newObjs.add(newObj);
    objIds.add(lArchiveDetails.get(i).getInstId());
  }
  Runnable publishEvents = this.generatePublishEventsThread(ArchiveHelper.OBJECTUPDATED_OBJECT_TYPE,
      objType, domain, objIds, interaction);
  this.dbProcessor.update(newObjs, publishEvents);
}
origin: int.esa.nmf.core.moservices.impl/ccsds-mc

long latestGroupDefId = groupDefsReferencingGroupIdentity.get(latestDefIndex).getInstId();
return latestGroupDefId;
origin: int.esa.nmf.core.moservices.impl/ccsds-com

final int networkId = this.fastNetwork.getNetworkId(lArchiveDetails.get(i).getNetwork());
final SourceLinkContainer sourceLink = this.createSourceContainerFromObjectId(lArchiveDetails.get(i).getDetails().getSource());
final Long objId = this.fastObjId.getUniqueObjId(objTypeId, domainId, lArchiveDetails.get(i).getInstId());
origin: int.esa.nmf.core.moservices.impl/ccsds-com

ArchiveDetails tmpArchiveDetails = lArchiveDetailsList.get(index);
if (tmpArchiveDetails.getInstId() == 0) { // requirement: 3.4.7.2.8 (second part)
  invIndexList.add(new UInteger(index));
  continue;
if (!manager.objIdExists(lObjectType, domain, tmpArchiveDetails.getInstId())) { // requirement: 3.4.7.2.4
  unkIndexList.add(new UInteger(index)); // requirement: 3.4.7.2.5
origin: int.esa.nmf.core.moservices.impl/ccsds-com

if (lArchiveDetailsList.get(index).getInstId() == 0) { // requirement: 3.4.6.2.5
  if (manager.objIdExists(objType, domain, lArchiveDetailsList.get(index).getInstId())) {
    dupIndexList.add(new UInteger(index));
    continue;
org.ccsds.moims.mo.com.archive.structuresArchiveDetailsgetInstId

Javadoc

Returns the field instId.

Popular methods of ArchiveDetails

  • <init>
    Constructor that initialises the values of the structure.
  • setInstId
    Sets the field instId.
  • getDetails
    Returns the field details.
  • getTimestamp
    Returns the field timestamp.
  • setDetails
    Sets the field details.
  • setNetwork
    Sets the field network.
  • setProvider
    Sets the field provider.
  • setTimestamp
    Sets the field timestamp.
  • getNetwork
    Returns the field network.
  • getProvider
    Returns the field provider.

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (Timer)
  • getExternalFilesDir (Context)
  • getSharedPreferences (Context)
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Path (java.nio.file)
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now