Package com.example.qrgo.models
Class BasicQRCode
- java.lang.Object
-
- com.example.qrgo.models.BasicQRCode
-
public class BasicQRCode extends java.lang.Object
BasicQRCode represents a basic QR code object with its corresponding properties and methods.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
firebaseId
protected java.lang.String
humanReadableQR
protected int
QrCodePoints
protected java.lang.String
QRString
-
Constructor Summary
Constructors Constructor Description BasicQRCode(java.lang.String firebaseId, java.lang.String QRString, java.lang.String humanReadableQR, int qrCodePoints)
Constructs a BasicQRCode object with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFirebaseId()
Returns the Firebase ID of the QR code.java.lang.String
getHumanReadableQR()
Returns the human readable representation of the QR code.int
getQrCodePoints()
Returns the points assigned to the QR code.java.lang.String
getQRString()
Returns the QR code string.void
setFirebaseId(java.lang.String firebaseId)
Sets the Firebase ID of the QR code.void
setHumanReadableQR(java.lang.String humanReadableQR)
Sets the human readable representation of the QR code.void
setQrCodePoints(int qrCodePoints)
Sets the points assigned to the QR code.void
setQRString(java.lang.String QRString)
Sets the QR code string.
-
-
-
Constructor Detail
-
BasicQRCode
public BasicQRCode(java.lang.String firebaseId, java.lang.String QRString, java.lang.String humanReadableQR, int qrCodePoints)
Constructs a BasicQRCode object with the given parameters.- Parameters:
firebaseId
- The Firebase ID of the QR code.QRString
- The QR code string.humanReadableQR
- The human readable representation of the QR code.qrCodePoints
- The points assigned to the QR code.
-
-
Method Detail
-
getQRString
public java.lang.String getQRString()
Returns the QR code string.- Returns:
- The QR code string.
-
setQRString
public void setQRString(java.lang.String QRString)
Sets the QR code string.- Parameters:
QRString
- The QR code string to set.
-
getHumanReadableQR
public java.lang.String getHumanReadableQR()
Returns the human readable representation of the QR code.- Returns:
- The human readable representation of the QR code.
-
setHumanReadableQR
public void setHumanReadableQR(java.lang.String humanReadableQR)
Sets the human readable representation of the QR code.- Parameters:
humanReadableQR
- The human readable representation to set.
-
getQrCodePoints
public int getQrCodePoints()
Returns the points assigned to the QR code.- Returns:
- The points assigned to the QR code.
-
setQrCodePoints
public void setQrCodePoints(int qrCodePoints)
Sets the points assigned to the QR code.- Parameters:
qrCodePoints
- The points to set.
-
getFirebaseId
public java.lang.String getFirebaseId()
Returns the Firebase ID of the QR code.- Returns:
- The Firebase ID of the QR code.
-
setFirebaseId
public void setFirebaseId(java.lang.String firebaseId)
Sets the Firebase ID of the QR code.- Parameters:
firebaseId
- The Firebase ID to set.
-
-