/** * Sets a <code>JIFlags</code> value to be used while encoding (marshalling) * this Variant. * * @param FLAG */ public void setFlag ( final int FLAG ) { final VariantBody variantBody = (VariantBody)this.member.getReferent (); variantBody.FLAG |= FLAG; }
/** String encapsulated by this object. The encoding scheme for <code>LPWSTR</code> and <code>BSTR</code> strings is "UTF-16LE". * * * @return */ public String getString() { return (String)member.getReferent(); }
FuncDesc(JIPointer values) { this(values.isNull() ? null : (JIStruct)values.getReferent()); } FuncDesc(JIStruct filledStruct)
/**Returns the Interface Identifier for this MIP. * * @return String representation of 128 bit uuid. */ public String getIID() { return ((JIInterfacePointerBody)(member.getReferent())).getIID(); }
/** * @exclude * @return */ public String getIPID() { return ((JIInterfacePointerBody)(member.getReferent())).getIPID(); }
FuncDesc(JIPointer values) { this(values.isNull() ? null : (JIStruct)values.getReferent()); } FuncDesc(JIStruct filledStruct)
ArrayDesc(JIPointer values) { this(values.isNull() ? null : (JIStruct)values.getReferent()); } }
/**Returns the Interface Identifier for this MIP. * * @return String representation of 128 bit uuid. */ public String getIID() { return ((JIInterfacePointerBody)(member.getReferent())).getIID(); }
/** * @exclude * @return */ int getLength() { return ((JIInterfacePointerBody)(member.getReferent())).getLength(); }
/**Retrieves the contained object as <code>short</code>. * * @return * @throws JIException */ public short getObjectAsShort() throws JIException { checkValidity(); return ((VariantBody)member.getReferent()).getObjectAsShort(); }
/**Retrieves the contained object as <code>unsigned</code> number. * * @return * @throws JIException */ public IJIUnsigned getObjectAsUnsigned() throws JIException { checkValidity(); return ((VariantBody)member.getReferent()).getObjectAsUnsigned(); }
/** * Returns the contained object. * * @return * @throws JIException */ public Object getObject () throws JIException { checkValidity (); return ( (VariantBody)this.member.getReferent () ).getObject (); }
/** * Retrieves the contained object as <code>float</code>. * * @return * @throws JIException */ public float getObjectAsFloat () throws JIException { checkValidity (); return ( (VariantBody)this.member.getReferent () ).getObjectAsFloat (); }
public boolean isArray () throws JIException { checkValidity (); return ( (VariantBody)this.member.getReferent () ).isArray (); }
/** * @exclude * @return */ byte[] getOXID() { return ((JIStdObjRef)((JIInterfacePointerBody)(member.getReferent())).getObjectReference(JIInterfacePointer.OBJREF_STANDARD)).getOxid(); }
/**Retrieves the contained object as <code>JIVariant</code>. * * @return * @throws JIException */ public JIVariant getObjectAsVariant() throws JIException { checkValidity(); return ((VariantBody)member.getReferent()).getObjectAsVariant(); }
/** Returns the contained object. * * @return * @throws JIException */ public Object getObject() throws JIException { checkValidity(); return ((VariantBody)member.getReferent()).getObject(); }
/**Retrieves the contained object as <code>int</code>. * * @return * @throws JIException */ public int getObjectAsInt() throws JIException { checkValidity(); return ((VariantBody)member.getReferent()).getObjectAsInt(); }
/**Retrieves the contained object as <code>boolean</code>. * * @return * @throws JIException */ public boolean getObjectAsBoolean() throws JIException { checkValidity(); return ((VariantBody)member.getReferent()).getObjectAsBoolean(); }
/**Retrieves the contained object as <code>IJIComObject</code>. Return value must be "narrowed" to get the expected type. * <p>for example :- If expected type is an <code>IJIDispatch</code>, * then the return value must pass through <code>JIObjectFactory.narrowInstance(IJIComObject)</code> to get to the right type. * * @return * @throws JIException */ public IJIComObject getObjectAsComObject() throws JIException { checkValidity(); return ((VariantBody)member.getReferent()).getObjectAsComObject(); }