00001 /******************************************************************************* 00002 *Copyright (c) Members of the EGEE Collaboration. 2006. 00003 *See http://www.eu-egee.org/partners/ for details on the copyright 00004 *holders. 00005 * 00006 *Licensed under the Apache License, Version 2.0 (the "License"); 00007 *you may not use this file except in compliance with the License. 00008 *You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 *Unless required by applicable law or agreed to in writing, software 00013 *distributed under the License is distributed on an "AS IS" BASIS, 00014 *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 *See the License for the specific language governing permissions and 00016 *limitations under the License. 00017 * 00018 * Authors: 00019 * Andrea Ceccanti - andrea.ceccanti@cnaf.infn.it 00020 *******************************************************************************/ 00021 package org.glite.security.voms.services.attributes; 00022 00023 import java.io.Serializable; 00024 00025 00034 public class AttributeValue implements Serializable { 00035 00039 private static final long serialVersionUID = 1L; 00040 00044 AttributeClass attributeClass; 00045 00052 String context; 00053 00057 String value; 00058 00059 public AttributeClass getAttributeClass() { 00060 00061 return attributeClass; 00062 } 00063 00064 public void setAttributeClass( AttributeClass attributeClass ) { 00065 00066 this.attributeClass = attributeClass; 00067 } 00068 00069 public String getContext() { 00070 00071 return context; 00072 } 00073 00074 public void setContext( String context ) { 00075 00076 this.context = context; 00077 } 00078 00079 public String getValue() { 00080 00081 return value; 00082 } 00083 00084 public void setValue( String value ) { 00085 00086 this.value = value; 00087 } 00088 00089 }