1 16 17 package org.apache.jetspeed.om.profile.psml; 18 19 import org.apache.jetspeed.om.SecurityReference; 21 import org.apache.jetspeed.om.profile.Parameter; 22 23 31 public class PsmlParameter implements Parameter, java.io.Serializable 32 { 33 34 private String name; 35 private String value; 36 37 38 private SecurityReference securityRef; 39 40 public PsmlParameter() 41 {} 42 43 44 public String getName() 45 { 46 return this.name; 47 } 48 49 52 public void setName( String name ) 53 { 54 this.name = name; 55 } 56 57 58 public String getValue() 59 { 60 return this.value; 61 } 62 63 66 public void setValue( String value ) 67 { 68 this.value = value; 69 } 70 71 74 public SecurityReference getSecurityRef() 75 { 76 return securityRef; 77 } 78 79 82 public void setSecurityRef(SecurityReference securityRef) 83 { 84 this.securityRef = securityRef; 85 } 86 87 90 public Object clone() 91 throws java.lang.CloneNotSupportedException 92 { 93 Object cloned = super.clone(); 94 95 ((PsmlParameter)cloned).securityRef = ((this.securityRef == null) ? null : (SecurityReference) this.securityRef.clone()); 97 98 return cloned; 99 100 } 102 } | Popular Tags |