Codota Logo
ChangeInput.getObjectKey
Code IndexAdd Codota to your IDE (free)

How to use
getObjectKey
method
in
com.gs.obevo.api.appdata.ChangeInput

Best Java code snippets using com.gs.obevo.api.appdata.ChangeInput.getObjectKey (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: com.goldmansachs.obevo/obevo-core

public String getChangeTypeName() {
  return this.getObjectKey().getChangeTypeName();
}
origin: goldmansachs/obevo

public String getChangeTypeName() {
  return this.getObjectKey().getChangeTypeName();
}
origin: com.goldmansachs.obevo/obevo-core

/**
 * This getDbObjectKey() string concatenation is a kludge until we refactor the DB object stuff itself out to its
 * own object
 */
public String getDbObjectKey() {
  return this.getObjectKey().getSchema() + ":" + this.getObjectName();
}
origin: goldmansachs/obevo

/**
 * This getDbObjectKey() string concatenation is a kludge until we refactor the DB object stuff itself out to its
 * own object
 */
public String getDbObjectKey() {
  return this.getObjectKey().getSchema() + ":" + this.getObjectName();
}
origin: goldmansachs/obevo

@Test
public void testDbChange() {
  ChangeInput change = new TableChangeParser(new EmptyContentHashStrategy(), getChangeType)
      .value(tableChangeType,
          null, "//// CHANGE name=chng5Rollback applyGrants=true INACTIVE baselinedChanges=\"a,b,c\" \nmychange\n\n// ROLLBACK-IF-ALREADY-DEPLOYED\nmyrollbackcommand\n", objectName
          , "schem", null).get(0);
  assertEquals("schem", change.getObjectKey().getSchema());
  assertEquals("chng5Rollback", change.getChangeKey().getChangeName());
  assertEquals("mychange\n", change.getContent());
  assertEquals("mychan", change.getContentHash());
  assertEquals("myrollbackcommand", change.getRollbackIfAlreadyDeployedContent());
  assertEquals(UnifiedSet.newSetWith("a", "b", "c"), change.getBaselinedChanges().toSet());
  assertFalse(change.isActive());
  assertTrue(change.getApplyGrants());
}
origin: goldmansachs/obevo

@Test
public void testDbChange2DiffValues() {
  ChangeInput change = new TableChangeParser(new EmptyContentHashStrategy(), getChangeType)
      .value(tableChangeType,
          null, "//// CHANGE name=chng5Rollback INACTIVE baselinedChanges=\"a,b,c\" \nmychange\n\n// ROLLBACK-IF-ALREADY-DEPLOYED\nmyrollbackcommand\n", objectName
          , "schem", null).get(0);
  assertEquals("schem", change.getObjectKey().getSchema());
  assertEquals("chng5Rollback", change.getChangeKey().getChangeName());
  assertEquals("mychange\n", change.getContent());
  assertEquals("mychan", change.getContentHash());
  assertEquals("myrollbackcommand", change.getRollbackIfAlreadyDeployedContent());
  assertEquals(UnifiedSet.newSetWith("a", "b", "c"), change.getBaselinedChanges().toSet());
  assertFalse(change.isActive());
  assertNull(change.getApplyGrants());
}
com.gs.obevo.api.appdataChangeInputgetObjectKey

Popular methods of ChangeInput

  • getChangeKey
  • getObjectName
  • <init>
  • getContent
  • getMetadataSection
  • setActive
  • setChangeKey
  • setContent
  • setContentHash
  • setRollbackIfAlreadyDeployedContent
  • getApplyGrants
  • getBaselinedChanges
  • getApplyGrants,
  • getBaselinedChanges,
  • getChangeTypeName,
  • getCodeDependencies,
  • getContentHash,
  • getDropContent,
  • getFileLocation,
  • getRestrictions,
  • getRollbackIfAlreadyDeployedContent

Popular in Java

  • Start an intent from android
  • getApplicationContext (Context)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • addToBackStack (FragmentTransaction)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • Runner (org.openjdk.jmh.runner)
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