示例#1
0
 public boolean hasPropertyMapping(String memberName) {
   return propertyMappings.containsKey(memberName);
 }
示例#2
0
 public boolean hasReferenceMapping(MetaReference metaReference) {
   if (referenceMappings == null) return false;
   return referenceMappings.containsKey(metaReference.getName());
 }
 /**
  * Method to check whether a context is valid
  *
  * @param contextCfgItemName
  * @return true/false
  */
 public static boolean isContextValid(String contextCfgItemName) {
   synchronized (contexts) {
     return contexts.containsKey(contextCfgItemName);
   }
 }