Lines Matching refs:object
107 public static String generateOid(Object object) { in generateOid() argument
109 if (object instanceof IQueryInterface) { in generateOid()
110 oid = ((IQueryInterface) object).getOid(); in generateOid()
112 return oid == null ? object.hashCode() + oidSuffix : oid; in generateOid()
134 public static Object queryInterface(Type type, Object object) { in queryInterface() argument
142 if (object instanceof Any) { in queryInterface()
143 Any a = (Any) object; in queryInterface()
145 object = a.getObject(); in queryInterface()
148 if (object instanceof IQueryInterface) { in queryInterface()
149 object = ((IQueryInterface) object).queryInterface(type); in queryInterface()
150 if (object instanceof Any) { in queryInterface()
151 Any a = (Any) object; in queryInterface()
152 object = a.getType().getTypeClass() == TypeClass.INTERFACE in queryInterface()
158 if (c == null || !c.isInstance(object)) { in queryInterface()
159 object = null; in queryInterface()
161 return object; in queryInterface()
176 public static <T> T queryInterface(Class<T> zInterface, Object object) { in queryInterface() argument
177 return (T) queryInterface(new Type(zInterface), object); in queryInterface()
637 public Object mapInterfaceTo(Object object, Type type) { in mapInterfaceTo() argument
638 return bridge.mapInterfaceFrom(object, type); in mapInterfaceTo()
641 public Object mapInterfaceFrom(Object object, Type type) { in mapInterfaceFrom() argument
642 return bridge.mapInterfaceTo(object, type); in mapInterfaceFrom()
673 public Object mapInterface(Object object, Type type) { in mapInterface() argument
674 return bridge.mapInterfaceTo(object, type); in mapInterface()