ObjectQuery

com.froglogic.squish.extension.ObjectQuery

Interface ObjectQuery

Synopsis

public interface com.froglogic.squish.extension.ObjectQuery {

// Public Methods
  public abstract int getIntProperty(java.lang.String property);
  public abstract java.lang.Object getObjectProperty(java.lang.String property);
  public abstract java.lang.String getStringProperty(java.lang.String property);
  public abstract boolean hasProperty(java.lang.String property);
  public abstract boolean match(java.lang.Object obj);
  public abstract boolean matchProperty(java.lang.String property,
                                        java.lang.String value);
}

Methods

getIntProperty(String)

public abstract int getIntProperty(java.lang.String property);

Parameters
returnint value of property

Return property value as int.

getObjectProperty(String)

public abstract java.lang.Object getObjectProperty(java.lang.String property);

Parameters
returnresolved object from property value or null if not found

Return property value as object. The value of this property must be a multi-property string or a symbolic name.

getStringProperty(String)

public abstract java.lang.String getStringProperty(java.lang.String property);

Parameters
returnstring value of property

Return property value as string.

hasProperty(String)

public abstract boolean hasProperty(java.lang.String property);

Parameters
returnif real name has this property

Return if the real name contains a property

match(Object)

public abstract boolean match(java.lang.Object obj);

Parameters
returntrue if the match succeeds

Return if an object matches the query.

matchProperty(String, String)

public abstract boolean matchProperty(java.lang.String property, java.lang.String value);

Parameters
returntrue if the match succeeds

Return if a property matches a value.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.