Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.app.model.src.impl
Class SourceModelHelper

java.lang.Object
  extended by com.ibm.etools.systems.app.model.src.impl.SourceModelHelper

public class SourceModelHelper
extends Object

Helper routines for the source model.


Field Summary
static String copyright
           
 
Constructor Summary
SourceModelHelper()
           
 
Method Summary
static boolean compare(String value1, String value2, boolean caseSensitive)
          Helper method for comparing two values.
static SourceContainer findSourceContainer(ApplicationModel model, String name, String type, String subtype, String location)
          Find the source container in the model with the specified attributes
static SourceContainer findSourceContainer(ApplicationModel model, String name, String type, String subtype, String location, boolean caseSensitive)
          Find the source container in the model with the specified attributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

SourceModelHelper

public SourceModelHelper()
Method Detail

findSourceContainer

public static SourceContainer findSourceContainer(ApplicationModel model,
                                                  String name,
                                                  String type,
                                                  String subtype,
                                                  String location)
Find the source container in the model with the specified attributes


findSourceContainer

public static SourceContainer findSourceContainer(ApplicationModel model,
                                                  String name,
                                                  String type,
                                                  String subtype,
                                                  String location,
                                                  boolean caseSensitive)
Find the source container in the model with the specified attributes


compare

public static boolean compare(String value1,
                              String value2,
                              boolean caseSensitive)
Helper method for comparing two values. Values either have to be both null or then have to be equal.


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.