Package com.kheops.jmap.server
Class AttributeQueryInfo
java.lang.Object
com.kheops.jmap.metadata.LocalizedObject
com.kheops.jmap.server.AttributeQueryInfo
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
ExternalAttributeQueryInfo
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Comparator<AttributeQueryInfo> protected static final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()protected voidclone(AttributeQueryInfo queryInfo) booleangetForm()intgetIcon()intgetId()intdoublegetQuery()getTitle()booleanbooleanisRemote()booleanvoidremoveTranslationsOtherThan(Locale[] locales) Removes anyLocalefrom this object that are not in the specifiedlocales.voidsetForm(IAbstractForm form) voidsetGroupId(int groupId) voidvoidsetId(int id) voidsetMaximumResults(int maxResults) voidsetMaximumScale(double maximumScale) voidsetPublished(boolean published) voidvoidvoidprotected voidMethods inherited from class com.kheops.jmap.metadata.LocalizedObject
getAvailableLocales, getTranslation, isTranslationExists, setTranslation, updateTranslations
-
Field Details
-
REMOTE_ID_OFFSET
public static final int REMOTE_ID_OFFSET- See Also:
-
BY_NAME
-
OBJECT_VERSION_ID_1
protected static final int OBJECT_VERSION_ID_1- See Also:
-
-
Constructor Details
-
AttributeQueryInfo
public AttributeQueryInfo(int id) -
AttributeQueryInfo
-
-
Method Details
-
getTitle
-
getTitle
-
isTitled
-
setTitle
-
setTitle
-
getQuery
-
setQuery
-
getMaximumScale
public double getMaximumScale() -
setMaximumScale
public void setMaximumScale(double maximumScale) -
getMaximumResults
public int getMaximumResults() -
setMaximumResults
public void setMaximumResults(int maxResults) -
getForm
-
setForm
-
getIcon
-
setIcon
-
getId
public int getId() -
isRemote
public boolean isRemote() -
setId
public void setId(int id) -
getGroupId
public int getGroupId() -
setGroupId
public void setGroupId(int groupId) -
isPublished
public boolean isPublished() -
setPublished
public void setPublished(boolean published) -
equals
-
clone
-
clone
-
validateObjectImpl
protected void validateObjectImpl() -
removeTranslationsOtherThan
Description copied from class:LocalizedObjectRemoves anyLocalefrom this object that are not in the specifiedlocales.locales[0]should be the default language- Overrides:
removeTranslationsOtherThanin classLocalizedObject- Parameters:
locales-
-