Tabnine Logo
ArchiveDetails.getInstId
Code IndexAdd Tabnine 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)

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

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • compareTo (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Kernel (java.awt.image)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now