Class EntityAttrAddress
java.lang.Object
ru.bgcrm.plugin.bgbilling.proto.model.entity.EntityAttr
ru.bgcrm.plugin.bgbilling.proto.model.entity.EntityAttrAddress
Attribute/parameter - address
-
Field Summary
Fields inherited from class EntityAttr
MODE_EQ, MODE_LIKE, MODE_REGEX -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEntityAttrAddress(int entityId, int entitySpecAttrId) EntityAttrAddress(int entityId, int entitySpecAttrId, int houseId, int pod, int floor, String flat, String room, String comment, String formatKey, String title) -
Method Summary
Modifier and TypeMethodDescriptiongetFlat()intgetFloor()intintgetPod()getRoom()getTitle()voidsetComment(String comment) voidvoidsetFloor(int floor) voidsetFormatKey(String formatKey) voidsetHouseId(int houseId) voidsetPod(int pod) voidvoidtoString()Methods inherited from class EntityAttr
getEntityId, getEntitySpecAttrId, setEntityId, setEntitySpecAttrId
-
Constructor Details
-
EntityAttrAddress
protected EntityAttrAddress() -
EntityAttrAddress
public EntityAttrAddress(int entityId, int entitySpecAttrId) -
EntityAttrAddress
-
-
Method Details
-
getHouseId
public int getHouseId()- Returns:
- the house ID
-
setHouseId
public void setHouseId(int houseId) - Parameters:
houseId- the house ID
-
getFlat
- Returns:
- the flat
-
setFlat
- Parameters:
flat- the flat
-
getRoom
- Returns:
- the room
-
setRoom
- Parameters:
room- the room
-
getPod
public int getPod()- Returns:
- the entrance
-
setPod
public void setPod(int pod) - Parameters:
pod- the entrance
-
getFloor
public int getFloor()- Returns:
- the floor
-
setFloor
public void setFloor(int floor) - Parameters:
floor- the floor
-
getComment
- Returns:
- the comment
-
setComment
- Parameters:
comment- the comment
-
getTitle
- Returns:
- the formatted address string
-
setTitle
- Parameters:
title- the formatted address string
-
getFormatKey
- Returns:
- the address formatting type
-
setFormatKey
- Parameters:
formatKey- the address formatting type
-
toString
-