Name

Interface ObjectQuery

Synopsis

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

// Public Methods  public int getIntProperty(String property);

  public Object getObjectProperty(String property);

  public String getStringProperty(String property);

  public boolean hasProperty(String property);

  public boolean match(Object obj);

  public boolean matchProperty(String property,

                               String value);


}

Methods

getIntProperty(String)

public int getIntProperty(String property);

Parameters

return

int value of property

Return property value as int.

getObjectProperty(String)

public Object getObjectProperty(String property);

Parameters

return

resolved 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 String getStringProperty(String property);

Parameters

return

string value of property

Return property value as string.

hasProperty(String)

public boolean hasProperty(String property);

Parameters

return

if real name has this property

Return if the real name contains a property

match(Object)

public boolean match(Object obj);

Parameters

return

true if the match succeeds

Return if an object matches the query.

matchProperty(String, String)

public boolean matchProperty(String property,

                             String value);

Parameters

return

true if the match succeeds

Return if a property matches a value.