Codota Logo
GlobalAttributeDefinitionCreateRequest.getGlobalAttributeDefinitionKey
Code IndexAdd Codota to your IDE (free)

How to use
getGlobalAttributeDefinitionKey
method
in
org.finra.herd.model.api.xml.GlobalAttributeDefinitionCreateRequest

Best Java code snippets using org.finra.herd.model.api.xml.GlobalAttributeDefinitionCreateRequest.getGlobalAttributeDefinitionKey (Showing top 16 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: FINRAOS/herd

/**
 * Validates the global Attribute Definition create request. This method also trims the request parameters. Currently only format level is supported
 *
 * @param request the global Attribute Definition create request
 *
 * @throws IllegalArgumentException throws exception if any other level other than format is specified
 */
private void validateGlobalAttributeDefinitionCreateRequest(GlobalAttributeDefinitionCreateRequest request)
{
  Assert.notNull(request, "A global attribute definition create request must be specified.");
  globalAttributeDefinitionHelper.validateGlobalAttributeDefinitionKey(request.getGlobalAttributeDefinitionKey());
  if (!GlobalAttributeDefinitionLevelEntity.GlobalAttributeDefinitionLevels.BUS_OBJCT_FRMT.name()
    .equalsIgnoreCase(request.getGlobalAttributeDefinitionKey().getGlobalAttributeDefinitionLevel()))
  {
    throw new IllegalArgumentException(String.format("Global attribute definition with level \"%s\" is not supported.",
      request.getGlobalAttributeDefinitionKey().getGlobalAttributeDefinitionLevel()));
  }
  if (request.getAttributeValueListKey() != null)
  {
    attributeValueListHelper.validateAttributeValueListKey(request.getAttributeValueListKey());
  }
}
origin: org.finra.herd/herd-service

/**
 * Validates the global Attribute Definition create request. This method also trims the request parameters. Currently only format level is supported
 *
 * @param request the global Attribute Definition create request
 *
 * @throws IllegalArgumentException throws exception if any other level other than format is specified
 */
private void validateGlobalAttributeDefinitionCreateRequest(GlobalAttributeDefinitionCreateRequest request)
{
  Assert.notNull(request, "A global attribute definition create request must be specified.");
  globalAttributeDefinitionHelper.validateGlobalAttributeDefinitionKey(request.getGlobalAttributeDefinitionKey());
  if (!GlobalAttributeDefinitionLevelEntity.GlobalAttributeDefinitionLevels.BUS_OBJCT_FRMT.name()
    .equalsIgnoreCase(request.getGlobalAttributeDefinitionKey().getGlobalAttributeDefinitionLevel()))
  {
    throw new IllegalArgumentException(String.format("Global attribute definition with level \"%s\" is not supported.",
      request.getGlobalAttributeDefinitionKey().getGlobalAttributeDefinitionLevel()));
  }
  if (request.getAttributeValueListKey() != null)
  {
    attributeValueListHelper.validateAttributeValueListKey(request.getAttributeValueListKey());
  }
}
origin: FINRAOS/herd

public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
  {
    GlobalAttributeDefinitionKey theGlobalAttributeDefinitionKey;
    theGlobalAttributeDefinitionKey = this.getGlobalAttributeDefinitionKey();
    strategy.appendField(locator, this, "globalAttributeDefinitionKey", buffer, theGlobalAttributeDefinitionKey, (this.globalAttributeDefinitionKey!= null));
  }
  {
    AttributeValueListKey theAttributeValueListKey;
    theAttributeValueListKey = this.getAttributeValueListKey();
    strategy.appendField(locator, this, "attributeValueListKey", buffer, theAttributeValueListKey, (this.attributeValueListKey!= null));
  }
  return buffer;
}
origin: org.finra.herd/herd-model-api

public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
  {
    GlobalAttributeDefinitionKey theGlobalAttributeDefinitionKey;
    theGlobalAttributeDefinitionKey = this.getGlobalAttributeDefinitionKey();
    strategy.appendField(locator, this, "globalAttributeDefinitionKey", buffer, theGlobalAttributeDefinitionKey, (this.globalAttributeDefinitionKey!= null));
  }
  {
    AttributeValueListKey theAttributeValueListKey;
    theAttributeValueListKey = this.getAttributeValueListKey();
    strategy.appendField(locator, this, "attributeValueListKey", buffer, theAttributeValueListKey, (this.attributeValueListKey!= null));
  }
  return buffer;
}
origin: FINRAOS/herd

public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
  {
    GlobalAttributeDefinitionKey theGlobalAttributeDefinitionKey;
    theGlobalAttributeDefinitionKey = this.getGlobalAttributeDefinitionKey();
    strategy.appendField(locator, this, "globalAttributeDefinitionKey", buffer, theGlobalAttributeDefinitionKey, (this.globalAttributeDefinitionKey!= null));
  }
  {
    AttributeValueListKey theAttributeValueListKey;
    theAttributeValueListKey = this.getAttributeValueListKey();
    strategy.appendField(locator, this, "attributeValueListKey", buffer, theAttributeValueListKey, (this.attributeValueListKey!= null));
  }
  return buffer;
}
origin: org.finra.herd/herd-service

@Override
public GlobalAttributeDefinition createGlobalAttributeDefinition(GlobalAttributeDefinitionCreateRequest request)
{
  // Validate and trim the request parameters.
  validateGlobalAttributeDefinitionCreateRequest(request);
  // Validate the global Attribute Definition entity does not already exist in the database.
  globalAttributeDefinitionDaoHelper.validateGlobalAttributeDefinitionNoExists(request.getGlobalAttributeDefinitionKey());
  //Get the existing global Attribute Definition level entity
  GlobalAttributeDefinitionLevelEntity globalAttributeDefinitionLevelEntity =
    globalAttributeDefinitionLevelDao.getGlobalAttributeDefinitionLevel(request.getGlobalAttributeDefinitionKey().getGlobalAttributeDefinitionLevel());
  AttributeValueListEntity attributeValueListEntity = null;
  //Get the attribute value list if the attribute value key exists
  if (request.getAttributeValueListKey() != null)
  {
    //Get the existing attribute list and ensure it exists
    attributeValueListEntity = attributeValueListDaoHelper.getAttributeValueListEntity(request.getAttributeValueListKey());
  }
  // Create and persist a new global Attribute Definition entity from the request information.
  GlobalAttributeDefinitionEntity globalAttributeDefinitionEntity =
    createGlobalAttributeDefinitionEntity(request.getGlobalAttributeDefinitionKey(), globalAttributeDefinitionLevelEntity, attributeValueListEntity);
  // Create and return the global Attribute Definition object from the persisted entity.
  return createGlobalAttributeDefinitionFromEntity(globalAttributeDefinitionEntity);
}
origin: FINRAOS/herd

@Override
public GlobalAttributeDefinition createGlobalAttributeDefinition(GlobalAttributeDefinitionCreateRequest request)
{
  // Validate and trim the request parameters.
  validateGlobalAttributeDefinitionCreateRequest(request);
  // Validate the global Attribute Definition entity does not already exist in the database.
  globalAttributeDefinitionDaoHelper.validateGlobalAttributeDefinitionNoExists(request.getGlobalAttributeDefinitionKey());
  //Get the existing global Attribute Definition level entity
  GlobalAttributeDefinitionLevelEntity globalAttributeDefinitionLevelEntity =
    globalAttributeDefinitionLevelDao.getGlobalAttributeDefinitionLevel(request.getGlobalAttributeDefinitionKey().getGlobalAttributeDefinitionLevel());
  AttributeValueListEntity attributeValueListEntity = null;
  //Get the attribute value list if the attribute value key exists
  if (request.getAttributeValueListKey() != null)
  {
    //Get the existing attribute list and ensure it exists
    attributeValueListEntity = attributeValueListDaoHelper.getAttributeValueListEntity(request.getAttributeValueListKey());
  }
  // Create and persist a new global Attribute Definition entity from the request information.
  GlobalAttributeDefinitionEntity globalAttributeDefinitionEntity =
    createGlobalAttributeDefinitionEntity(request.getGlobalAttributeDefinitionKey(), globalAttributeDefinitionLevelEntity, attributeValueListEntity);
  // Create and return the global Attribute Definition object from the persisted entity.
  return createGlobalAttributeDefinitionFromEntity(globalAttributeDefinitionEntity);
}
origin: FINRAOS/herd

public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
  if ((object == null)||(this.getClass()!= object.getClass())) {
    return false;
  }
  if (this == object) {
    return true;
  }
  final GlobalAttributeDefinitionCreateRequest that = ((GlobalAttributeDefinitionCreateRequest) object);
  {
    GlobalAttributeDefinitionKey lhsGlobalAttributeDefinitionKey;
    lhsGlobalAttributeDefinitionKey = this.getGlobalAttributeDefinitionKey();
    GlobalAttributeDefinitionKey rhsGlobalAttributeDefinitionKey;
    rhsGlobalAttributeDefinitionKey = that.getGlobalAttributeDefinitionKey();
    if (!strategy.equals(LocatorUtils.property(thisLocator, "globalAttributeDefinitionKey", lhsGlobalAttributeDefinitionKey), LocatorUtils.property(thatLocator, "globalAttributeDefinitionKey", rhsGlobalAttributeDefinitionKey), lhsGlobalAttributeDefinitionKey, rhsGlobalAttributeDefinitionKey, (this.globalAttributeDefinitionKey!= null), (that.globalAttributeDefinitionKey!= null))) {
      return false;
    }
  }
  {
    AttributeValueListKey lhsAttributeValueListKey;
    lhsAttributeValueListKey = this.getAttributeValueListKey();
    AttributeValueListKey rhsAttributeValueListKey;
    rhsAttributeValueListKey = that.getAttributeValueListKey();
    if (!strategy.equals(LocatorUtils.property(thisLocator, "attributeValueListKey", lhsAttributeValueListKey), LocatorUtils.property(thatLocator, "attributeValueListKey", rhsAttributeValueListKey), lhsAttributeValueListKey, rhsAttributeValueListKey, (this.attributeValueListKey!= null), (that.attributeValueListKey!= null))) {
      return false;
    }
  }
  return true;
}
origin: org.finra.herd/herd-model-api

public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
  if ((object == null)||(this.getClass()!= object.getClass())) {
    return false;
  }
  if (this == object) {
    return true;
  }
  final GlobalAttributeDefinitionCreateRequest that = ((GlobalAttributeDefinitionCreateRequest) object);
  {
    GlobalAttributeDefinitionKey lhsGlobalAttributeDefinitionKey;
    lhsGlobalAttributeDefinitionKey = this.getGlobalAttributeDefinitionKey();
    GlobalAttributeDefinitionKey rhsGlobalAttributeDefinitionKey;
    rhsGlobalAttributeDefinitionKey = that.getGlobalAttributeDefinitionKey();
    if (!strategy.equals(LocatorUtils.property(thisLocator, "globalAttributeDefinitionKey", lhsGlobalAttributeDefinitionKey), LocatorUtils.property(thatLocator, "globalAttributeDefinitionKey", rhsGlobalAttributeDefinitionKey), lhsGlobalAttributeDefinitionKey, rhsGlobalAttributeDefinitionKey, (this.globalAttributeDefinitionKey!= null), (that.globalAttributeDefinitionKey!= null))) {
      return false;
    }
  }
  {
    AttributeValueListKey lhsAttributeValueListKey;
    lhsAttributeValueListKey = this.getAttributeValueListKey();
    AttributeValueListKey rhsAttributeValueListKey;
    rhsAttributeValueListKey = that.getAttributeValueListKey();
    if (!strategy.equals(LocatorUtils.property(thisLocator, "attributeValueListKey", lhsAttributeValueListKey), LocatorUtils.property(thatLocator, "attributeValueListKey", rhsAttributeValueListKey), lhsAttributeValueListKey, rhsAttributeValueListKey, (this.attributeValueListKey!= null), (that.attributeValueListKey!= null))) {
      return false;
    }
  }
  return true;
}
origin: FINRAOS/herd

public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
  if ((object == null)||(this.getClass()!= object.getClass())) {
    return false;
  }
  if (this == object) {
    return true;
  }
  final GlobalAttributeDefinitionCreateRequest that = ((GlobalAttributeDefinitionCreateRequest) object);
  {
    GlobalAttributeDefinitionKey lhsGlobalAttributeDefinitionKey;
    lhsGlobalAttributeDefinitionKey = this.getGlobalAttributeDefinitionKey();
    GlobalAttributeDefinitionKey rhsGlobalAttributeDefinitionKey;
    rhsGlobalAttributeDefinitionKey = that.getGlobalAttributeDefinitionKey();
    if (!strategy.equals(LocatorUtils.property(thisLocator, "globalAttributeDefinitionKey", lhsGlobalAttributeDefinitionKey), LocatorUtils.property(thatLocator, "globalAttributeDefinitionKey", rhsGlobalAttributeDefinitionKey), lhsGlobalAttributeDefinitionKey, rhsGlobalAttributeDefinitionKey, (this.globalAttributeDefinitionKey!= null), (that.globalAttributeDefinitionKey!= null))) {
      return false;
    }
  }
  {
    AttributeValueListKey lhsAttributeValueListKey;
    lhsAttributeValueListKey = this.getAttributeValueListKey();
    AttributeValueListKey rhsAttributeValueListKey;
    rhsAttributeValueListKey = that.getAttributeValueListKey();
    if (!strategy.equals(LocatorUtils.property(thisLocator, "attributeValueListKey", lhsAttributeValueListKey), LocatorUtils.property(thatLocator, "attributeValueListKey", rhsAttributeValueListKey), lhsAttributeValueListKey, rhsAttributeValueListKey, (this.attributeValueListKey!= null), (that.attributeValueListKey!= null))) {
      return false;
    }
  }
  return true;
}
origin: FINRAOS/herd

public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) {
  int currentHashCode = 1;
  {
    GlobalAttributeDefinitionKey theGlobalAttributeDefinitionKey;
    theGlobalAttributeDefinitionKey = this.getGlobalAttributeDefinitionKey();
    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "globalAttributeDefinitionKey", theGlobalAttributeDefinitionKey), currentHashCode, theGlobalAttributeDefinitionKey, (this.globalAttributeDefinitionKey!= null));
  }
  {
    AttributeValueListKey theAttributeValueListKey;
    theAttributeValueListKey = this.getAttributeValueListKey();
    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "attributeValueListKey", theAttributeValueListKey), currentHashCode, theAttributeValueListKey, (this.attributeValueListKey!= null));
  }
  return currentHashCode;
}
origin: FINRAOS/herd

public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) {
  int currentHashCode = 1;
  {
    GlobalAttributeDefinitionKey theGlobalAttributeDefinitionKey;
    theGlobalAttributeDefinitionKey = this.getGlobalAttributeDefinitionKey();
    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "globalAttributeDefinitionKey", theGlobalAttributeDefinitionKey), currentHashCode, theGlobalAttributeDefinitionKey, (this.globalAttributeDefinitionKey!= null));
  }
  {
    AttributeValueListKey theAttributeValueListKey;
    theAttributeValueListKey = this.getAttributeValueListKey();
    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "attributeValueListKey", theAttributeValueListKey), currentHashCode, theAttributeValueListKey, (this.attributeValueListKey!= null));
  }
  return currentHashCode;
}
origin: org.finra.herd/herd-model-api

public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) {
  int currentHashCode = 1;
  {
    GlobalAttributeDefinitionKey theGlobalAttributeDefinitionKey;
    theGlobalAttributeDefinitionKey = this.getGlobalAttributeDefinitionKey();
    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "globalAttributeDefinitionKey", theGlobalAttributeDefinitionKey), currentHashCode, theGlobalAttributeDefinitionKey, (this.globalAttributeDefinitionKey!= null));
  }
  {
    AttributeValueListKey theAttributeValueListKey;
    theAttributeValueListKey = this.getAttributeValueListKey();
    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "attributeValueListKey", theAttributeValueListKey), currentHashCode, theAttributeValueListKey, (this.attributeValueListKey!= null));
  }
  return currentHashCode;
}
origin: FINRAOS/herd

if (globalAttributeDefinitionKeyShouldBeCopiedAndSet == Boolean.TRUE) {
  GlobalAttributeDefinitionKey sourceGlobalAttributeDefinitionKey;
  sourceGlobalAttributeDefinitionKey = this.getGlobalAttributeDefinitionKey();
  GlobalAttributeDefinitionKey copyGlobalAttributeDefinitionKey = ((GlobalAttributeDefinitionKey) strategy.copy(LocatorUtils.property(locator, "globalAttributeDefinitionKey", sourceGlobalAttributeDefinitionKey), sourceGlobalAttributeDefinitionKey, (this.globalAttributeDefinitionKey!= null)));
  copy.setGlobalAttributeDefinitionKey(copyGlobalAttributeDefinitionKey);
origin: org.finra.herd/herd-model-api

if (globalAttributeDefinitionKeyShouldBeCopiedAndSet == Boolean.TRUE) {
  GlobalAttributeDefinitionKey sourceGlobalAttributeDefinitionKey;
  sourceGlobalAttributeDefinitionKey = this.getGlobalAttributeDefinitionKey();
  GlobalAttributeDefinitionKey copyGlobalAttributeDefinitionKey = ((GlobalAttributeDefinitionKey) strategy.copy(LocatorUtils.property(locator, "globalAttributeDefinitionKey", sourceGlobalAttributeDefinitionKey), sourceGlobalAttributeDefinitionKey, (this.globalAttributeDefinitionKey!= null)));
  copy.setGlobalAttributeDefinitionKey(copyGlobalAttributeDefinitionKey);
origin: FINRAOS/herd

if (globalAttributeDefinitionKeyShouldBeCopiedAndSet == Boolean.TRUE) {
  GlobalAttributeDefinitionKey sourceGlobalAttributeDefinitionKey;
  sourceGlobalAttributeDefinitionKey = this.getGlobalAttributeDefinitionKey();
  GlobalAttributeDefinitionKey copyGlobalAttributeDefinitionKey = ((GlobalAttributeDefinitionKey) strategy.copy(LocatorUtils.property(locator, "globalAttributeDefinitionKey", sourceGlobalAttributeDefinitionKey), sourceGlobalAttributeDefinitionKey, (this.globalAttributeDefinitionKey!= null)));
  copy.setGlobalAttributeDefinitionKey(copyGlobalAttributeDefinitionKey);
org.finra.herd.model.api.xmlGlobalAttributeDefinitionCreateRequestgetGlobalAttributeDefinitionKey

Javadoc

Gets the value of the globalAttributeDefinitionKey property.

Popular methods of GlobalAttributeDefinitionCreateRequest

  • <init>
    Fully-initialising value constructor
  • getAttributeValueListKey
    Gets the value of the attributeValueListKey property.
  • append
  • appendFields
  • copyTo
  • createNewInstance
  • equals
  • hashCode
  • setAttributeValueListKey
    Sets the value of the attributeValueListKey property.
  • setGlobalAttributeDefinitionKey
    Sets the value of the globalAttributeDefinitionKey property.

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
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