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

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

Best Java code snippets using org.ccsds.moims.mo.com.archive.structures.ArchiveDetails.setNetwork (Showing top 9 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

  archiveDetails.setNetwork(network);
} else {
  archiveDetails.setNetwork(ConfigurationProviderSingleton.getNetwork());
origin: int.esa.nmf.core.moservices.impl/ccsds-com

/**
 * Please consider using the same method but with the provider URI directly
 * as argument instead of the connectionDetails object
 *
 * @param related Related field
 * @param source Source field
 * @param connectionDetails The details of the connection
 * @return The ArchiveDetailsList object
 */
@Deprecated
public static ArchiveDetailsList generateArchiveDetailsList(final Long related,
    final ObjectId source, final SingleConnectionDetails connectionDetails) {
  final ArchiveDetails archiveDetails = new ArchiveDetails();
  archiveDetails.setInstId(new Long(0));
  archiveDetails.setDetails(new ObjectDetails(related, source));
  archiveDetails.setNetwork(ConfigurationProviderSingleton.getNetwork());
  archiveDetails.setTimestamp(HelperTime.getTimestamp());
  archiveDetails.setProvider(connectionDetails.getProviderURI());
  final ArchiveDetailsList archiveDetailsList = new ArchiveDetailsList();
  archiveDetailsList.add(archiveDetails);
  return archiveDetailsList;
}
origin: int.esa.nmf.core.moservices.impl/ccsds-com

/**
 * Generates a ArchiveDetailsList structure with one ArchiveDetails object.
 * The object instance identifier will be set as 0. The operation will use
 * the submitted related, source, network and provider fields to fill-in the
 * object. The fields network and provider are not set.
 *
 * @param related Related field
 * @param source Source field
 * @param network Network field
 * @param provider Provider field
 * @return The ArchiveDetailsList object
 */
public static ArchiveDetailsList generateArchiveDetailsList(final Long related,
    final ObjectId source, final Identifier network, final URI provider) {
  final ArchiveDetails archiveDetails = new ArchiveDetails();
  archiveDetails.setInstId(new Long(0));
  archiveDetails.setDetails(new ObjectDetails(related, source));
  archiveDetails.setNetwork(network);
  archiveDetails.setTimestamp(HelperTime.getTimestamp());
  archiveDetails.setProvider(provider);
  final ArchiveDetailsList archiveDetailsList = new ArchiveDetailsList();
  archiveDetailsList.add(archiveDetails);
  return archiveDetailsList;
}
origin: int.esa.nmf.core.moservices.impl/ccsds-mc

archiveDetails.setInstId(new Long(0));
archiveDetails.setDetails(new ObjectDetails(relatedList.get(i), sourcesList.get(i)));
archiveDetails.setNetwork(ConfigurationProviderSingleton.getNetwork());
archiveDetails.setTimestamp(timestamps.get(i));
archiveDetails.setProvider(connectionDetails.getProviderURI());
origin: int.esa.nmf.core.moservices.impl/ccsds-com

/**
 * Generates a ArchiveDetailsList structure with one ArchiveDetails object.
 * The object instance identifier will be set as 0. The operation will use
 * the submitted related, source and connectionDetails fields to fill-in the
 * object. It will use the provider's network to fill in the network's
 * field.
 *
 * @param related Related field
 * @param source Source field
 * @param uri URI field
 * @return The ArchiveDetailsList object
 */
public static ArchiveDetailsList generateArchiveDetailsList(final Long related,
    final ObjectId source, final URI uri) {
  final ArchiveDetails archiveDetails = new ArchiveDetails();
  archiveDetails.setInstId(new Long(0));
  archiveDetails.setDetails(new ObjectDetails(related, source));
  archiveDetails.setNetwork(ConfigurationProviderSingleton.getNetwork());
  archiveDetails.setTimestamp(HelperTime.getTimestamp());
  archiveDetails.setProvider(uri);
  final ArchiveDetailsList archiveDetailsList = new ArchiveDetailsList();
  archiveDetailsList.add(archiveDetails);
  return archiveDetailsList;
}
origin: int.esa.nmf.core.moservices.impl/ccsds-com

  archiveDetails.setNetwork(network);
} else {
  archiveDetails.setNetwork(ConfigurationProviderSingleton.getNetwork());
origin: int.esa.nmf.core.moservices.impl/ccsds-com

/**
 * Generates a ArchiveDetailsList structure with one ArchiveDetails object.
 * The object instance identifier will be set as 0. The operation will use
 * the submitted related, source and interaction fields to fill-in the
 * object.
 *
 * @param related Related field
 * @param source Source field
 * @param interaction Interaction
 * @return The ArchiveDetailsList object
 */
public static ArchiveDetailsList generateArchiveDetailsList(final Long related,
    final ObjectId source, final MALInteraction interaction) {
  final ArchiveDetails archiveDetails = new ArchiveDetails();
  archiveDetails.setInstId(new Long(0));
  archiveDetails.setDetails(new ObjectDetails(related, source));
  archiveDetails.setNetwork(interaction.getMessageHeader().getNetworkZone());
  archiveDetails.setTimestamp(HelperTime.getTimestamp());
  archiveDetails.setProvider(interaction.getMessageHeader().getURIFrom());
  final ArchiveDetailsList archiveDetailsList = new ArchiveDetailsList();
  archiveDetailsList.add(archiveDetails);
  return archiveDetailsList;
}
origin: int.esa.nmf.core.moservices.impl/ccsds-com

final Long objId = interaction.getMessageHeader().getTransactionId();
archiveDetails.get(0).setInstId(objId); // requirement: 3.5.2.4
archiveDetails.get(0).setNetwork(interaction.getMessageHeader().getNetworkZone());  // RID raised to create this requirement!
archiveDetails.get(0).setProvider(interaction.getMessageHeader().getURIFrom());     // RID raised to create this requirement!
origin: int.esa.nmf.core.moservices.impl/ccsds-com

archiveDetails.setInstId(new Long(0));
archiveDetails.setDetails(new ObjectDetails(updateHeaderList.get(i).getKey().getThirdSubKey(), null));  // Event objId
archiveDetails.setNetwork(msgHeader.getNetworkZone());
archiveDetails.setTimestamp(HelperTime.getTimestamp());
archiveDetails.setProvider(msgHeader.getURIFrom());
org.ccsds.moims.mo.com.archive.structuresArchiveDetailssetNetwork

Javadoc

Sets the field network.

Popular methods of ArchiveDetails

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

Popular in Java

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • compareTo (BigDecimal)
  • putExtra (Intent)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
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