Name

Interface ObjectQuery

Synopsis

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

// Public Methods  public int getIntProperty(java.­lang.­String property);

  public java.​­lang.​­Object getObjectProperty(java.­lang.­String property);

  public java.​­lang.​­String getStringProperty(java.­lang.­String property);

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

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

  public boolean matchProperty(java.­lang.­String property,

                               java.­lang.­String value);


}

Methods

getIntProperty(String)

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

Parameters

return

int value of property

Return property value as int.

getObjectProperty(String)

public java.​­lang.​­Object getObjectProperty(java.­lang.­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 java.​­lang.​­String getStringProperty(java.­lang.­String property);

Parameters

return

string value of property

Return property value as string.

hasProperty(String)

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

Parameters

return

if real name has this property

Return if the real name contains a property

match(Object)

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

Parameters

return

true if the match succeeds

Return if an object matches the query.

matchProperty(String, String)

public boolean matchProperty(java.­lang.­String property,

                             java.­lang.­String value);

Parameters

return

true if the match succeeds

Return if a property matches a value.