Uses of Enum Class
sc2002.FCS1.grp2.FlatType
Packages that use FlatType
-
Uses of FlatType in sc2002.FCS1.grp2
Fields in sc2002.FCS1.grp2 declared as FlatTypeModifier and TypeFieldDescriptionprivate FlatTypeApplication.flatTypeThe flat type that is applied.private FlatTypeFlatInfo.typeEnum representing the type of flat.Fields in sc2002.FCS1.grp2 with type parameters of type FlatTypeMethods in sc2002.FCS1.grp2 that return FlatTypeModifier and TypeMethodDescriptionstatic FlatTypeFlatType.fromInt(int number) Construct base on integer value that can represent a flat type.static FlatTypeFlatType.fromString(String value) Convert a string to the respective FlatType enum.Application.getFlatType()Get flat typeFlatInfo.getType()Returns the type of flat.static FlatTypeReturns the enum constant of this class with the specified name.static FlatType[]FlatType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in sc2002.FCS1.grp2 that return types with arguments of type FlatTypeModifier and TypeMethodDescriptionApplicant.getEligibleFlatTypes()This method gives the eligible flat types available to the applicantMethods in sc2002.FCS1.grp2 with parameters of type FlatTypeModifier and TypeMethodDescription(package private) booleanBTOProject.getFlatForType(FlatType type) Get the flat information for a specific flat type.voidSets the type of flat.Method parameters in sc2002.FCS1.grp2 with type arguments of type FlatTypeModifier and TypeMethodDescriptionBTOProject.getApplicableFlats(Set<FlatType> applicableTypes) Get the applicable flat information for specific flat types.booleanBTOProject.isEligible(Set<FlatType> flatTypes) Check if the given flat types are eligible for application.Constructors in sc2002.FCS1.grp2 with parameters of type FlatTypeModifierConstructorDescriptionApplication(BTOProject project, FlatType flatType, Applicant applicant) Construct a BTO application.(package private)Constructor to create a FlatInfo object with specified type, remaining units, and price.