com.flexive.shared.search
Class FxFoundType

java.lang.Object
  extended by com.flexive.shared.search.FxFoundType
All Implemented Interfaces:
java.io.Serializable

public class FxFoundType
extends java.lang.Object
implements java.io.Serializable

A found FxType

Author:
Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Constructor Summary
FxFoundType(FxType type, int foundEntries)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 long getContentTypeId()
          Returns the content type id.
 FxString getDescription()
          Returns the description of the content type.
 java.lang.String getDisplayName()
          Returns the display name of the content type.
 int getFoundEntries()
          Returns the amount of items found by the query.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FxFoundType

public FxFoundType(FxType type,
                   int foundEntries)
Constructor.

Parameters:
type - the content type
foundEntries - the amount of entries found by the query
Method Detail

getContentTypeId

public long getContentTypeId()
Returns the content type id.

Returns:
the content type name

getFoundEntries

public int getFoundEntries()
Returns the amount of items found by the query.

Returns:
the amount of items found by the quer

getDescription

public FxString getDescription()
Returns the description of the content type.

Returns:
the description of the content type

getDisplayName

public java.lang.String getDisplayName()
Returns the display name of the content type.

Returns:
the display name of the content type

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object