1 package org.openmdx.security.realm1.cci; 14 15 public class ValidationResultImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefStruct_1 17 implements ValidationResult { 18 19 public ValidationResultImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage, 21 java.util.List args 22 ) { 23 super(refPackage, args); 24 } 25 26 public ValidationResultImpl( 27 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage, 28 java.lang.Object arg 29 ) { 30 super(refPackage, arg); 31 } 32 33 public String refQualifiedTypeName( 34 ) { 35 return "org:openmdx:security:realm1:ValidationResult"; 36 } 37 38 public boolean isAccepted( 42 ) { 43 return isAccepted(0); 44 } 45 46 private boolean isAccepted( 47 int index 48 ) { 49 return ((Boolean )this.refGetValue("org:openmdx:security:realm1:ValidationResult:accepted", index)).booleanValue(); 50 } 51 52 public String getChallenge ( 56 ) { 57 return (String )this.refGetValue("challenge", 0); 58 } 59 public Short getCode ( 63 ) { 64 return (Short )this.refGetValue("code", 0); 65 } 66 public byte[] getState ( 70 ) { 71 return (byte[])this.refGetValue("state", 0); 72 } 73 } 77 | Popular Tags |