public class RandomRealEstateFactory extends Object
Creates random real estate objects according, that match with the specifications of the Webservice.
| Modifier and Type | Class and Description |
|---|---|
static class |
RandomRealEstateFactory.Type
Enumeration of real estate types.
|
| Constructor and Description |
|---|
RandomRealEstateFactory() |
public Address createRandomAddress()
Address.Wgs84Address objectpublic EnergySourcesEnev2014 createRandomEnergySourcesEnev2014()
EnergySourcesEnev2014, that contains random
EnergySourceEnev2014 values.EnergySourcesEnev2014 objectpublic RealtorContactDetails createRandomContact()
RealtorContactDetails.RealtorContactDetails objectpublic RealEstate createRandomObject()
RealEstate of a random RandomRealEstateFactory.Type.RealEstate objectpublic RealEstate createRandomObject(RandomRealEstateFactory.Type type)
RealEstate of a specific RandomRealEstateFactory.Type.type - type of the real estate object to createRealEstate objectpublic Wgs84Address createRandomObjectAddress()
Wgs84Address.Wgs84Address objectpublic SiteRecommendedUseForTradeTypes createRandomSiteRecommendedUseForTradeTypes()
SiteRecommendedUseForTradeTypes, that contains random
SiteRecommendedUseForTradeType values.SiteRecommendedUseForTradeTypes objectpublic SiteRecommendedUseTypes createRandomSiteRecommendedUseTypes()
SiteRecommendedUseTypes, that contains random
SiteRecommendedUseType values.SiteRecommendedUseTypes objectpublic Price getDefaultPrice()
Price for randomly created data.Price objectpublic static AirConditioningType getRandomAirConditioningType()
AirConditioningType value.AirConditioningType valuepublic static ApartmentType getRandomApartmentType()
ApartmentType value.ApartmentType valuepublic static BalconyAvailableType getRandomBalconyAvailableType()
BalconyAvailableType value.BalconyAvailableType valuepublic static boolean getRandomBoolean()
Boolean value.Boolean valuepublic static BuildingType getRandomBuildingType()
BuildingType value.BuildingType valuepublic static Calendar getRandomCalendar()
Calendar value between 1990 and 2015.Calendar valuepublic static Calendar getRandomCalendar(int minYear, int maxYear)
Calendar value in a specific timeframe.minYear - minimal calendar yearmaxYear - maximal calendar yearCalendar valuepublic static CareLevelExpose getRandomCareLevel()
CareLevelExpose value.CareLevelExpose valuepublic static CompulsoryAuctionType getRandomCompulsoryAuctionType()
CompulsoryAuctionType value.CompulsoryAuctionType valuepublic static ConstructionPhaseType getRandomConstructionPhaseType()
ConstructionPhaseType value.ConstructionPhaseType valuepublic static CountryCode getRandomCountryCode()
CountryCode value.CountryCode valuepublic static Date getRandomDate()
Date value between 1990 and 2015.Date valuepublic static Date getRandomDate(int minYear, int maxYear)
Date value in a specific timeframe.minYear - minimal calendar yearmaxYear - maximal calendar yearDate valuepublic static double getRandomDouble(int max)
Double value with a specific maximum.max - maximum valueDouble valuepublic static double getRandomDouble(double min,
double max)
Double value within a specific interval.min - minimum valuemax - maximum valueDouble valuepublic static EnergyEfficiencyClass getRandomEnergyEfficiencyClass()
EnergyEfficiencyClass value.EnergyEfficiencyClass valuepublic static FacilityType getRandomFacilityType()
FacilityType value.FacilityType valuepublic static FlatMateGenderType getRandomFlatMateGenderType()
FlatMateGenderType value.FlatMateGenderType valuepublic static FlooringType getRandomFlooringType()
FlooringType value.FlooringType valuepublic static GarageType getRandomGarageType()
GarageType value.GarageType valuepublic static GastronomyType getRandomGastronomyType()
GastronomyType value.GastronomyType valuepublic static HeatingTypeEnev2014 getRandomHeatingTypeEnev2014()
HeatingTypeEnev2014 value.HeatingTypeEnev2014 valuepublic static HouseTypeBuildingType getRandomHouseTypeBuildingType()
HouseTypeBuildingType value.HouseTypeBuildingType valuepublic static HouseTypeConstructionMethodType getRandomHouseTypeConstructionMethodType()
HouseTypeConstructionMethodType value.HouseTypeConstructionMethodType valuepublic static HouseTypeEnergyStandardType getRandomHouseTypeEnergyStandardType()
HouseTypeEnergyStandardType value.HouseTypeEnergyStandardType valuepublic static HouseTypeStageOfCompletionType getRandomHouseTypeStageOfCompletionType()
HouseTypeStageOfCompletionType value.HouseTypeStageOfCompletionType valuepublic static IndustryType getRandomIndustryType()
IndustryType value.IndustryType valuepublic static int getRandomInt(int max)
Integer value with a specific maximum.max - maximum valueInteger valuepublic static int getRandomInt(int min,
int max)
Integer value within a specific interval.min - minimum valuemax - maximum valueDouble valuepublic static InteriorQuality getRandomInteriorQuality()
InteriorQuality value.InteriorQuality valuepublic static InternetConnectionType getRandomInternetConnectionType()
InternetConnectionType value.InternetConnectionType valuepublic static InvestmentType getRandomInvestmentType()
InvestmentType value.InvestmentType valuepublic static ItInfrastructureType getRandomItInfrastructureType()
ItInfrastructureType value.ItInfrastructureType valuepublic static LocationClassificationType getRandomLocationClassificationType()
LocationClassificationType value.LocationClassificationType valuepublic static RandomRealEstateFactory.Type getRandomObjectType()
RandomRealEstateFactory.Type value.RandomRealEstateFactory.Type valuepublic static OfficeType getRandomOfficeType()
OfficeType value.OfficeType valuepublic static ParkingSituationType getRandomParkingSituationType()
ParkingSituationType value.ParkingSituationType valuepublic static ParkingSpaceType getRandomParkingSpaceType()
ParkingSpaceType value.ParkingSpaceType valuepublic static PetsAllowedType getRandomPetsAllowedType()
PetsAllowedType value.PetsAllowedType valuepublic static RealEstateCondition getRandomRealEstateCondition()
RealEstateCondition value.RealEstateCondition valuepublic static SalutationType getRandomSalutationType()
SalutationType value.SalutationType valuepublic static RoomType getRandomRoomType()
RoomType value.RoomType valuepublic static ShortTermAccommodationType getRandomShortTermAccommodationType()
ShortTermAccommodationType value.ShortTermAccommodationType valuepublic static SiteConstructibleType getRandomSiteConstructibleType()
SiteConstructibleType value.SiteConstructibleType valuepublic static SiteDevelopmentType getRandomSiteDevelopmentType()
SiteDevelopmentType value.SiteDevelopmentType valuepublic static SmokingAllowedType getRandomSmokingAllowedType()
SmokingAllowedType value.SmokingAllowedType valuepublic static SpecialPurposeType getRandomSpecialPurposeType()
SpecialPurposeType value.SpecialPurposeType valuepublic static StoreType getRandomStoreType()
StoreType value.StoreType valuepublic static SupplyType getRandomSupplyType()
SupplyType value.SupplyType valuepublic static TelephoneConnectionType getRandomTelephoneConnectionType()
TelephoneConnectionType value.TelephoneConnectionType valuepublic static TvConnectionType getRandomTvConnectionType()
TvConnectionType value.TvConnectionType valuepublic static UtilizationTradeSite getRandomUtilizationTradeSite()
UtilizationTradeSite value.UtilizationTradeSite valuepublic static YesNoNotApplicableType getRandomYesNo()
YesNoNotApplicableType value without
YesNoNotApplicableType.NOT_APPLICABLE.YesNoNotApplicableType valuepublic static YesNoNotApplicableType getRandomYesNoNotApplicableType()
YesNoNotApplicableType value.YesNoNotApplicableType valuepublic static YesNotApplicableType getRandomYesNotApplicableType()
YesNotApplicableType value.YesNotApplicableType valuepublic static Object getRandomValue(Object[] values)
values - array of values to lookuppublic void init(RealEstate realEstate)
RealEstate object with random values.realEstate - object to initializeprotected void initAddress(Address address)
Address object with random values.address - object to initializeprotected void initAddress(Wgs84Address address)
Wgs84Address object with random values.address - object to initializeprotected void initRealEstate(ApartmentBuy realEstate)
ApartmentBuy object with random values.realEstate - object to initializeprotected void initRealEstate(ApartmentRent realEstate)
ApartmentRent object with random values.realEstate - object to initializeprotected void initRealEstate(AssistedLiving realEstate)
AssistedLiving object with random values.realEstate - object to initializeprotected void initRealEstate(CompulsoryAuction realEstate)
CompulsoryAuction object with random values.realEstate - object to initializeprotected void initRealEstate(FlatShareRoom realEstate)
FlatShareRoom object with random values.realEstate - object to initializeprotected void initRealEstate(GarageBuy realEstate)
GarageBuy object with random values.realEstate - object to initializeprotected void initRealEstate(GarageRent realEstate)
GarageRent object with random values.realEstate - object to initializeprotected void initRealEstate(Gastronomy realEstate)
Gastronomy object with random values.realEstate - object to initializeprotected void initRealEstate(HouseBuy realEstate)
HouseBuy object with random values.realEstate - object to initializeprotected void initRealEstate(HouseRent realEstate)
HouseRent object with random values.realEstate - object to initializeprotected void initRealEstate(HouseType realEstate)
HouseType object with random values.realEstate - object to initializeprotected void initRealEstate(Industry realEstate)
Industry object with random values.realEstate - object to initializeprotected void initRealEstate(Investment realEstate)
Investment object with random values.realEstate - object to initializeprotected void initRealEstate(LivingBuySite realEstate)
LivingBuySite object with random values.realEstate - object to initializeprotected void initRealEstate(LivingRentSite realEstate)
LivingRentSite object with random values.realEstate - object to initializeprotected void initRealEstate(Office realEstate)
Office object with random values.realEstate - object to initializeprotected void initRealEstate(SeniorCare realEstate)
SeniorCare object with random values.realEstate - object to initializeprotected void initRealEstate(ShortTermAccommodation realEstate)
ShortTermAccommodation object with random values.realEstate - object to initializeprotected void initRealEstate(SpecialPurpose realEstate)
SpecialPurpose object with random values.realEstate - object to initializeprotected void initRealEstate(Store realEstate)
Store object with random values.realEstate - object to initializeCopyright © 2014 OpenEstate. All rights reserved.