# AbstractUserQuery

Implements \NPS\Model\IDomainObject

Represents a user query model object

author | Lukas Korinek
package | Default

### Methods

## __construct

    __construct(\NPS\Entity\AbstractUserQueryEntity $entity)

### Arguments

#### $entity

`\NPS\Entity\AbstractUserQueryEntity`

## Gets the entity of the object

    getEntity() : \NPS\Entity\IEntity

inheritDoc |

### Response

`\NPS\Entity\IEntity`

## Gets the id of the object

    getId() : integer

inheritDoc |

### Response

`integer`

## Gets the query text content

    getText() : string

### Response

`string`

### Properties

## entity

    entity : \NPS\Entity\AbstractUserQueryEntity

var |

### Type(s)

`\NPS\Entity\AbstractUserQueryEntity`