当前位置: 首页>>代码示例>>Java>>正文


Java SystemMetaObject.NULL_META_OBJECT属性代码示例

本文整理汇总了Java中org.apache.ibatis.reflection.SystemMetaObject.NULL_META_OBJECT属性的典型用法代码示例。如果您正苦于以下问题:Java SystemMetaObject.NULL_META_OBJECT属性的具体用法?Java SystemMetaObject.NULL_META_OBJECT怎么用?Java SystemMetaObject.NULL_META_OBJECT使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.apache.ibatis.reflection.SystemMetaObject的用法示例。


在下文中一共展示了SystemMetaObject.NULL_META_OBJECT属性的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getSetterType

@Override
public Class<?> getSetterType(String name) {
  PropertyTokenizer prop = new PropertyTokenizer(name);
  if (prop.hasNext()) {
    MetaObject metaValue = metaObject.metaObjectForProperty(prop.getIndexedName());
    if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
      return Object.class;
    } else {
      return metaValue.getSetterType(prop.getChildren());
    }
  } else {
    if (map.get(name) != null) {
      return map.get(name).getClass();
    } else {
      return Object.class;
    }
  }
}
 
开发者ID:yuexiahandao,项目名称:MybatisCode,代码行数:18,代码来源:MapWrapper.java

示例2: getGetterType

@Override
public Class<?> getGetterType(String name) {
  PropertyTokenizer prop = new PropertyTokenizer(name);
  if (prop.hasNext()) {
    MetaObject metaValue = metaObject.metaObjectForProperty(prop.getIndexedName());
    if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
      return Object.class;
    } else {
      return metaValue.getGetterType(prop.getChildren());
    }
  } else {
    if (map.get(name) != null) {
      return map.get(name).getClass();
    } else {
      return Object.class;
    }
  }
}
 
开发者ID:yuexiahandao,项目名称:MybatisCode,代码行数:18,代码来源:MapWrapper.java

示例3: hasGetter

@Override
public boolean hasGetter(String name) {
  PropertyTokenizer prop = new PropertyTokenizer(name);
  if (prop.hasNext()) {
    if (map.containsKey(prop.getIndexedName())) {
      MetaObject metaValue = metaObject.metaObjectForProperty(prop.getIndexedName());
      if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
        return true;
      } else {
        return metaValue.hasGetter(prop.getChildren());
      }
    } else {
      return false;
    }
  } else {
    return map.containsKey(prop.getName());
  }
}
 
开发者ID:yuexiahandao,项目名称:MybatisCode,代码行数:18,代码来源:MapWrapper.java

示例4: hasSetter

@Override
public boolean hasSetter(String name) {
  PropertyTokenizer prop = new PropertyTokenizer(name);
  if (prop.hasNext()) {
    if (metaClass.hasSetter(prop.getIndexedName())) {
      MetaObject metaValue = metaObject.metaObjectForProperty(prop.getIndexedName());
      if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
        return metaClass.hasSetter(name);
      } else {
        return metaValue.hasSetter(prop.getChildren());
      }
    } else {
      return false;
    }
  } else {
    return metaClass.hasSetter(name);
  }
}
 
开发者ID:yuexiahandao,项目名称:MybatisCode,代码行数:18,代码来源:BeanWrapper.java

示例5: hasGetter

@Override
public boolean hasGetter(String name) {
  PropertyTokenizer prop = new PropertyTokenizer(name);
  if (prop.hasNext()) {
    if (metaClass.hasGetter(prop.getIndexedName())) {
      MetaObject metaValue = metaObject.metaObjectForProperty(prop.getIndexedName());
      if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
        return metaClass.hasGetter(name);
      } else {
        return metaValue.hasGetter(prop.getChildren());
      }
    } else {
      return false;
    }
  } else {
    return metaClass.hasGetter(name);
  }
}
 
开发者ID:yuexiahandao,项目名称:MybatisCode,代码行数:18,代码来源:BeanWrapper.java

示例6: getSetterType

public Class<?> getSetterType(String name) {
	PropertyTokenizer prop = new PropertyTokenizer(name);
	if (prop.hasNext()) {
		MetaObject metaValue = metaObject.metaObjectForProperty(prop
				.getIndexedName());
		if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
			return Object.class;
		} else {
			return metaValue.getSetterType(prop.getChildren());
		}
	} else {
		if (map.get(name) != null) {
			return map.get(name).getClass();
		} else {
			return Object.class;
		}
	}
}
 
开发者ID:yinshipeng,项目名称:sosoapi-base,代码行数:18,代码来源:MapWrapper.java

示例7: getGetterType

public Class<?> getGetterType(String name) {
	PropertyTokenizer prop = new PropertyTokenizer(name);
	if (prop.hasNext()) {
		MetaObject metaValue = metaObject.metaObjectForProperty(prop
				.getIndexedName());
		if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
			return Object.class;
		} else {
			return metaValue.getGetterType(prop.getChildren());
		}
	} else {
		if (map.get(name) != null) {
			return map.get(name).getClass();
		} else {
			return Object.class;
		}
	}
}
 
开发者ID:yinshipeng,项目名称:sosoapi-base,代码行数:18,代码来源:MapWrapper.java

示例8: hasGetter

public boolean hasGetter(String name) {
	PropertyTokenizer prop = new PropertyTokenizer(name);
	if (prop.hasNext()) {
		if (map.containsKey(prop.getIndexedName())) {
			MetaObject metaValue = metaObject.metaObjectForProperty(prop
					.getIndexedName());
			if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
				return true;
			} else {
				return metaValue.hasGetter(prop.getChildren());
			}
		} else {
			return false;
		}
	} else {
		return map.containsKey(prop.getName());
	}
}
 
开发者ID:yinshipeng,项目名称:sosoapi-base,代码行数:18,代码来源:MapWrapper.java

示例9: hasGetter

public boolean hasGetter(String name) {
	PropertyTokenizer prop = new PropertyTokenizer(name);
	if (prop.hasNext()) {
		if (metaClass.hasGetter(prop.getIndexedName())) {
			MetaObject metaValue = metaObject.metaObjectForProperty(prop
					.getIndexedName());
			if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
				return metaClass.hasGetter(name);
			} else {
				return metaValue.hasGetter(prop.getChildren());
			}
		} else {
			return false;
		}
	} else {
		return metaClass.hasGetter(name);
	}
}
 
开发者ID:yinshipeng,项目名称:sosoapi-base,代码行数:18,代码来源:BeanWrapper.java

示例10: hasSetter

public boolean hasSetter(String name) {
	PropertyTokenizer prop = new PropertyTokenizer(name);
	if (prop.hasNext()) {
		if (metaClass.hasSetter(prop.getIndexedName())) {
			MetaObject metaValue = metaObject.metaObjectForProperty(prop
					.getIndexedName());
			if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
				return metaClass.hasSetter(name);
			} else {
				return metaValue.hasSetter(prop.getChildren());
			}
		} else {
			return false;
		}
	} else {
		return metaClass.hasSetter(name);
	}
}
 
开发者ID:yinshipeng,项目名称:sosoapi-base,代码行数:18,代码来源:BeanWrapper.java

示例11: getSetterType

@Override
public Class<?> getSetterType(String name) {
  PropertyTokenizer prop = new PropertyTokenizer(name);
  if (prop.hasNext()) {
    MetaObject metaValue = metaObject.metaObjectForProperty(prop.getIndexedName());
    if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
      return metaClass.getSetterType(name);
    } else {
      return metaValue.getSetterType(prop.getChildren());
    }
  } else {
    return metaClass.getSetterType(name);
  }
}
 
开发者ID:yuexiahandao,项目名称:MybatisCode,代码行数:14,代码来源:BeanWrapper.java

示例12: getGetterType

@Override
public Class<?> getGetterType(String name) {
  PropertyTokenizer prop = new PropertyTokenizer(name);
  if (prop.hasNext()) {
    MetaObject metaValue = metaObject.metaObjectForProperty(prop.getIndexedName());
    if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
      return metaClass.getGetterType(name);
    } else {
      return metaValue.getGetterType(prop.getChildren());
    }
  } else {
    return metaClass.getGetterType(name);
  }
}
 
开发者ID:yuexiahandao,项目名称:MybatisCode,代码行数:14,代码来源:BeanWrapper.java

示例13: getGetterType

public Class<?> getGetterType(String name) {
	PropertyTokenizer prop = new PropertyTokenizer(name);
	if (prop.hasNext()) {
		MetaObject metaValue = metaObject.metaObjectForProperty(prop
				.getIndexedName());
		if (metaValue == SystemMetaObject.NULL_META_OBJECT) {
			return metaClass.getGetterType(name);
		} else {
			return metaValue.getGetterType(prop.getChildren());
		}
	} else {
		return metaClass.getGetterType(name);
	}
}
 
开发者ID:yinshipeng,项目名称:sosoapi-base,代码行数:14,代码来源:BeanWrapper.java


注:本文中的org.apache.ibatis.reflection.SystemMetaObject.NULL_META_OBJECT属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。