Tabnine Logo
GlobalAttributeDefinitionCreateRequest.getAttributeValueListKey
Code IndexAdd Tabnine to your IDE (free)

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

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

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: 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 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: 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

if (attributeValueListKeyShouldBeCopiedAndSet == Boolean.TRUE) {
  AttributeValueListKey sourceAttributeValueListKey;
  sourceAttributeValueListKey = this.getAttributeValueListKey();
  AttributeValueListKey copyAttributeValueListKey = ((AttributeValueListKey) strategy.copy(LocatorUtils.property(locator, "attributeValueListKey", sourceAttributeValueListKey), sourceAttributeValueListKey, (this.attributeValueListKey!= null)));
  copy.setAttributeValueListKey(copyAttributeValueListKey);
origin: org.finra.herd/herd-model-api

if (attributeValueListKeyShouldBeCopiedAndSet == Boolean.TRUE) {
  AttributeValueListKey sourceAttributeValueListKey;
  sourceAttributeValueListKey = this.getAttributeValueListKey();
  AttributeValueListKey copyAttributeValueListKey = ((AttributeValueListKey) strategy.copy(LocatorUtils.property(locator, "attributeValueListKey", sourceAttributeValueListKey), sourceAttributeValueListKey, (this.attributeValueListKey!= null)));
  copy.setAttributeValueListKey(copyAttributeValueListKey);
origin: FINRAOS/herd

if (attributeValueListKeyShouldBeCopiedAndSet == Boolean.TRUE) {
  AttributeValueListKey sourceAttributeValueListKey;
  sourceAttributeValueListKey = this.getAttributeValueListKey();
  AttributeValueListKey copyAttributeValueListKey = ((AttributeValueListKey) strategy.copy(LocatorUtils.property(locator, "attributeValueListKey", sourceAttributeValueListKey), sourceAttributeValueListKey, (this.attributeValueListKey!= null)));
  copy.setAttributeValueListKey(copyAttributeValueListKey);
org.finra.herd.model.api.xmlGlobalAttributeDefinitionCreateRequestgetAttributeValueListKey

Javadoc

Gets the value of the attributeValueListKey property.

Popular methods of GlobalAttributeDefinitionCreateRequest

  • <init>
    Fully-initialising value constructor
  • getGlobalAttributeDefinitionKey
    Gets the value of the globalAttributeDefinitionKey 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

  • Making http requests using okhttp
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • getSupportFragmentManager (FragmentActivity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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