Steps to Implement Method Validation

Advanced Oracle ADF 12c Course Model|Method Validation
2 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€61.60
List Price:  €88
You save:  €26.40
£52.39
List Price:  £74.84
You save:  £22.45
CA$96.82
List Price:  CA$138.32
You save:  CA$41.50
A$109.46
List Price:  A$156.38
You save:  A$46.92
S$91.43
List Price:  S$130.62
You save:  S$39.19
HK$542.86
List Price:  HK$775.55
You save:  HK$232.68
CHF 57.75
List Price:  CHF 82.50
You save:  CHF 24.75
NOK kr725.61
List Price:  NOK kr1,036.63
You save:  NOK kr311.02
DKK kr459.85
List Price:  DKK kr656.96
You save:  DKK kr197.10
NZ$118.21
List Price:  NZ$168.89
You save:  NZ$50.67
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.18
৳8,506
List Price:  ৳12,151.96
You save:  ৳3,645.95
₹5,914.29
List Price:  ₹8,449.35
You save:  ₹2,535.06
RM302.06
List Price:  RM431.54
You save:  RM129.47
₦112,198.16
List Price:  ₦160,289.96
You save:  ₦48,091.80
₨19,674.18
List Price:  ₨28,107.18
You save:  ₨8,433
฿2,338.36
List Price:  ฿3,340.66
You save:  ฿1,002.30
₺2,694.45
List Price:  ₺3,849.38
You save:  ₺1,154.92
B$394.24
List Price:  B$563.23
You save:  B$168.98
R1,302.84
List Price:  R1,861.29
You save:  R558.44
Лв120.49
List Price:  Лв172.14
You save:  Лв51.64
₩99,511.52
List Price:  ₩142,165.41
You save:  ₩42,653.89
₪254.28
List Price:  ₪363.27
You save:  ₪108.99
₱3,908.03
List Price:  ₱5,583.14
You save:  ₱1,675.10
¥10,013.44
List Price:  ¥14,305.53
You save:  ¥4,292.09
MX$1,367.56
List Price:  MX$1,953.74
You save:  MX$586.18
QR254.83
List Price:  QR364.06
You save:  QR109.23
P955.36
List Price:  P1,364.86
You save:  P409.50
KSh9,046.20
List Price:  KSh12,923.70
You save:  KSh3,877.50
E£3,555.06
List Price:  E£5,078.88
You save:  E£1,523.81
ብር9,228.18
List Price:  ብር13,183.68
You save:  ብር3,955.50
Kz63,830.88
List Price:  Kz91,190.88
You save:  Kz27,360
CLP$66,136.35
List Price:  CLP$94,484.55
You save:  CLP$28,348.20
CN¥510.57
List Price:  CN¥729.42
You save:  CN¥218.85
RD$4,106.90
List Price:  RD$5,867.26
You save:  RD$1,760.35
DA9,278.25
List Price:  DA13,255.22
You save:  DA3,976.96
FJ$158.31
List Price:  FJ$226.17
You save:  FJ$67.86
Q539.19
List Price:  Q770.30
You save:  Q231.11
GY$14,646.40
List Price:  GY$20,924.33
You save:  GY$6,277.92
ISK kr8,988.11
List Price:  ISK kr12,840.71
You save:  ISK kr3,852.60
DH646.19
List Price:  DH923.18
You save:  DH276.98
L1,201.44
List Price:  L1,716.42
You save:  L514.98
ден3,789.22
List Price:  ден5,413.41
You save:  ден1,624.18
MOP$559.31
List Price:  MOP$799.04
You save:  MOP$239.73
N$1,301.18
List Price:  N$1,858.91
You save:  N$557.73
C$2,576.31
List Price:  C$3,680.60
You save:  C$1,104.29
रु9,476.77
List Price:  रु13,538.83
You save:  रु4,062.05
S/256.61
List Price:  S/366.61
You save:  S/109.99
K288.57
List Price:  K412.26
You save:  K123.69
SAR262.52
List Price:  SAR375.05
You save:  SAR112.52
ZK1,954.98
List Price:  ZK2,792.94
You save:  ZK837.96
L306.65
List Price:  L438.09
You save:  L131.44
Kč1,534.32
List Price:  Kč2,191.98
You save:  Kč657.66
Ft24,912.20
List Price:  Ft35,590.39
You save:  Ft10,678.18
SEK kr674.98
List Price:  SEK kr964.31
You save:  SEK kr289.32
ARS$81,533.76
List Price:  ARS$116,481.80
You save:  ARS$34,948.03
Bs482.60
List Price:  Bs689.46
You save:  Bs206.86
COP$295,498.18
List Price:  COP$422,158.36
You save:  COP$126,660.17
₡35,397.31
List Price:  ₡50,569.76
You save:  ₡15,172.44
L1,806.69
List Price:  L2,581.10
You save:  L774.40
₲558,050.74
List Price:  ₲797,249.52
You save:  ₲239,198.77
$U2,946.75
List Price:  $U4,209.82
You save:  $U1,263.07
zł263.03
List Price:  zł375.77
You save:  zł112.74
Already have an account? Log In

Transcript

Hello, in this video, I will talk about a new feature called method validation. What is method validation is the entity object you can write your own custom validation method that you can you can validate is a specific entity object attribute or you can add a validation in the whole entity object level. So, if you want to write some custom validation using Java code, like for example, if you want to, if the salary is greater than something you want the department to be between some value only you can rise this custom position is the entity level. If, for example, the user name if the first name and the last name is equal to each other Other and this is already exist in some other department you should validate you should fire validate arrow or you can add validation in the entity object attribute level itself. Like for example, the salary should be greater than one or less than something So, you can write your own custom validation in the entity object table, we will show you how we can do that.

So, the steps to do this, you should open your entity object and select business rules that is the entity object. Second thing you can add validation in a specific attribute or is the entity level. To do that, you can right click over the entity validator or the attribute then select a new validator from the new validator window you can select measure type equal to method, then you write your error message in the failure handling tab go to entity embed Java class and write your code in the generated method. This generated method should return true or false. If this method returns true, so the validation is passed successfully, but if you want to fire an error message you should make this message to return false. So, this is called message validation.

This is validation you can edit in the entity object driven is entity object you can validate the whole entity object or you can validate a specific attribute Nicky's to video I will go to the developer and create application and I will show you how you can create your own method validation. So see you when you can see it. You

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.