public static enum DbAgencyObject.Status extends Enum<DbAgencyObject.Status> implements com.openindex.openestate.impl.utils.Translatable
Enum Constant and Description |
---|
BROKERED |
DRAFT |
NOT_BROKERED |
PUBLISHED |
REVIEW |
TRAY |
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static DbAgencyObject.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DbAgencyObject.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
write()
Deprecated.
|
public static final DbAgencyObject.Status DRAFT
public static final DbAgencyObject.Status REVIEW
public static final DbAgencyObject.Status PUBLISHED
public static final DbAgencyObject.Status BROKERED
public static final DbAgencyObject.Status NOT_BROKERED
public static final DbAgencyObject.Status TRAY
public static DbAgencyObject.Status[] values()
for (DbAgencyObject.Status c : DbAgencyObject.Status.values()) System.out.println(c);
public static DbAgencyObject.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getTranslation()
getTranslation
in interface com.openindex.openestate.impl.utils.Translatable
public String getTranslation(Locale locale)
getTranslation
in interface com.openindex.openestate.impl.utils.Translatable
@Deprecated public String write()
Copyright © 2015 OpenEstate. All rights reserved.