congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
  • getContentResolver (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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