/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.uccollaborationlib;
import com.wilutions.com.*;
/**
* ModalityPropertyDictionary.
* ModalityPropertyDictionary Class
*/
@CoClass(guid="{F251612D-4456-4ACC-BF24-B0D79F004F0B}")
public class ModalityPropertyDictionary extends Dispatch implements IModalityPropertyDictionary {
static boolean __typelib__loaded = __TypeLib.load();
@DeclDISPID(1610743808) public Integer getCount() throws ComException {
final Object obj = this._dispatchCall(1610743808,"Count", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(0) public Object getItem(final ModalityProperty _propertyType) throws ComException {
assert(_propertyType != null);
final Object obj = this._dispatchCall(0,"Item", DISPATCH_PROPERTYGET,null,_propertyType.value);
if (obj == null) return null;
return (Object)obj;
}
@DeclDISPID(1610743810) public ModalityProperty[] getKeys() throws ComException {
final Object obj = this._dispatchCall(1610743810,"Keys", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (ModalityProperty[])obj;
}
@DeclDISPID(1610743811) public Object[] getValues() throws ComException {
final Object obj = this._dispatchCall(1610743811,"Values", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Object[])obj;
}
@DeclDISPID(1610743812) public Boolean TryGetValue(final ModalityProperty _propertyType, final ByRef<Object> _itemValue) throws ComException {
assert(_propertyType != null);
assert(_itemValue != null);
final Object obj = this._dispatchCall(1610743812,"TryGetValue", DISPATCH_METHOD,null,_propertyType.value,_itemValue);
if (obj == null) return null;
return (Boolean)obj;
}
@DeclDISPID(1610743813) public ModalityProperty GetKeyAt(final Integer _index) throws ComException {
assert(_index != null);
final Object obj = this._dispatchCall(1610743813,"GetKeyAt", DISPATCH_METHOD,null,_index);
if (obj == null) return null;
return ModalityProperty.valueOf((Integer)obj);
}
@DeclDISPID(1610743814) public Object GetValueAt(final Integer _index) throws ComException {
assert(_index != null);
final Object obj = this._dispatchCall(1610743814,"GetValueAt", DISPATCH_METHOD,null,_index);
if (obj == null) return null;
return (Object)obj;
}
@DeclDISPID(1610743815) public Boolean ContainsKey(final ModalityProperty _propertyType) throws ComException {
assert(_propertyType != null);
final Object obj = this._dispatchCall(1610743815,"ContainsKey", DISPATCH_METHOD,null,_propertyType.value);
if (obj == null) return null;
return (Boolean)obj;
}
public ModalityPropertyDictionary() throws ComException {
super("{F251612D-4456-4ACC-BF24-B0D79F004F0B}", "{62074904-8D06-43FE-A531-E63DF7FDC2E7}");
}
protected ModalityPropertyDictionary(long ndisp) {
super(ndisp);
}
public String toString() {
return "[ModalityPropertyDictionary" + super.toString() + "]";
}
}