Tabnine Logo
MemberHoldingTypeDetails.getCustomData
Code IndexAdd Tabnine to your IDE (free)

How to use
getCustomData
method
in
org.springframework.roo.classpath.details.MemberHoldingTypeDetails

Best Java code snippets using org.springframework.roo.classpath.details.MemberHoldingTypeDetails.getCustomData (Showing top 6 results out of 315)

origin: spring-projects/spring-roo

/**
 * Searches all {@link MemberDetails} and returns all
 * {@link MemberHoldingTypeDetails} which contains a given
 * {@link CustomData} tag.
 * 
 * @param memberDetails the {@link MemberDetails} to search (can be
 *            <code>null</code>)
 * @param tagKey the {@link CustomData} key to search for (required)
 * @return zero or more {@link MemberHoldingTypeDetails} (never null)
 */
public static List<MemberHoldingTypeDetails> getMemberHoldingTypeDetailsWithTag(
  final MemberDetails memberDetails, final Object tagKey) {
 Validate.notNull(tagKey, "Custom data tag required");
 final List<MemberHoldingTypeDetails> result = new ArrayList<MemberHoldingTypeDetails>();
 if (memberDetails != null) {
  for (final MemberHoldingTypeDetails memberHoldingTypeDetails : memberDetails.getDetails()) {
   if (memberHoldingTypeDetails.getCustomData().keySet().contains(tagKey)) {
    result.add(memberHoldingTypeDetails);
   }
  }
 }
 return result;
}
origin: spring-projects/spring-roo

for (final Object customData : cid.getCustomData().keySet()) {
 if (!tagToMidMap.containsKey(customData)) {
  tagToMidMap.put(customData, new HashSet<String>());
origin: spring-projects/spring-roo

private void doModification(final MemberHoldingTypeDetails type, final CustomData customData) {
 final MemberHoldingTypeDetails memberHoldingTypeDetails =
   memberHoldingTypeDetailsMap.get(type.getDeclaredByMetadataId());
 if (memberHoldingTypeDetails != null) {
  if (memberHoldingTypeDetails.getName().equals(type.getName())
    && !memberHoldingTypeDetails.getCustomData().keySet().containsAll(customData.keySet())) {
   final TypeDetailsBuilder typeDetailsBuilder =
     getTypeDetailsBuilder(memberHoldingTypeDetails);
   typeDetailsBuilder.getCustomData().append(customData);
   changed = true;
  }
 }
}
origin: org.springframework.roo/org.springframework.roo.classpath

/**
 * Searches all {@link MemberDetails} and returns all
 * {@link MemberHoldingTypeDetails} which contains a given
 * {@link CustomData} tag.
 * 
 * @param memberDetails the {@link MemberDetails} to search (can be
 *            <code>null</code>)
 * @param tagKey the {@link CustomData} key to search for (required)
 * @return zero or more {@link MemberHoldingTypeDetails} (never null)
 */
public static List<MemberHoldingTypeDetails> getMemberHoldingTypeDetailsWithTag(
  final MemberDetails memberDetails, final Object tagKey) {
 Validate.notNull(tagKey, "Custom data tag required");
 final List<MemberHoldingTypeDetails> result = new ArrayList<MemberHoldingTypeDetails>();
 if (memberDetails != null) {
  for (final MemberHoldingTypeDetails memberHoldingTypeDetails : memberDetails.getDetails()) {
   if (memberHoldingTypeDetails.getCustomData().keySet().contains(tagKey)) {
    result.add(memberHoldingTypeDetails);
   }
  }
 }
 return result;
}
origin: org.springframework.roo/org.springframework.roo.classpath

for (final Object customData : cid.getCustomData().keySet()) {
 if (!tagToMidMap.containsKey(customData)) {
  tagToMidMap.put(customData, new HashSet<String>());
origin: org.springframework.roo/org.springframework.roo.classpath

private void doModification(final MemberHoldingTypeDetails type, final CustomData customData) {
 final MemberHoldingTypeDetails memberHoldingTypeDetails =
   memberHoldingTypeDetailsMap.get(type.getDeclaredByMetadataId());
 if (memberHoldingTypeDetails != null) {
  if (memberHoldingTypeDetails.getName().equals(type.getName())
    && !memberHoldingTypeDetails.getCustomData().keySet().containsAll(customData.keySet())) {
   final TypeDetailsBuilder typeDetailsBuilder =
     getTypeDetailsBuilder(memberHoldingTypeDetails);
   typeDetailsBuilder.getCustomData().append(customData);
   changed = true;
  }
 }
}
org.springframework.roo.classpath.detailsMemberHoldingTypeDetailsgetCustomData

Popular methods of MemberHoldingTypeDetails

  • getLayerEntities
    If this is a layering component, for example a service or repository, returns the domain entities ma
  • getDeclaredMethods
  • getAnnotations
  • getDeclaredFields
  • getExtendsTypes
    Lists the classes this type extends. This may be empty. Always empty in the case of an enum. While a
  • getDeclaredByMetadataId
  • getDeclaredConstructors
  • getImplementsTypes
    Lists the classes this type implements. Always empty in the case of an interface. A List is used to
  • getImports
    Lists the imports this class includes. Also obtains imports from ITDs.
  • getMethods
    Locates all methods on this class and its superclasses.
  • getType
  • getAnnotation
  • getType,
  • getAnnotation,
  • getDeclaredConstructor,
  • getDeclaredField,
  • getDeclaredInitializers,
  • getDeclaredInnerType,
  • getDeclaredInnerTypes,
  • getDynamicFinderNames,
  • getField

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Kernel (java.awt.image)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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