Codota Logo
MemberHoldingTypeDetails.getCustomData
Code IndexAdd Codota 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)

  • Common ways to obtain MemberHoldingTypeDetails
private void myMethod () {
MemberHoldingTypeDetails m =
  • Codota IconPhysicalTypeMetadata physicalTypeMetadata;physicalTypeMetadata.getMemberHoldingTypeDetails()
  • Smart code suggestions by Codota
}
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

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • orElseThrow (Optional)
  • getExternalFilesDir (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
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