001 /*
002 * Licensed to the Apache Software Foundation (ASF) under one
003 * or more contributor license agreements. See the NOTICE file
004 * distributed with this work for additional information
005 * regarding copyright ownership. The ASF licenses this file
006 * to you under the Apache License, Version 2.0 (the
007 * "License"); you may not use this file except in compliance
008 * with the License. You may obtain a copy of the License at
009 *
010 * http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing,
013 * software distributed under the License is distributed on an
014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015 * KIND, either express or implied. See the License for the
016 * specific language governing permissions and limitations
017 * under the License.
018 *
019 */
020
021 package org.apache.directory.shared.ldap.schema.parsers;
022
023
024 /**
025 * An ApacheDS specific schema description.
026 * It contains a full qualified class name and optional
027 * the BASE64 encoded bytecode of the class.
028 *
029 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
030 * @version $Rev$, $Date$
031 */
032 public abstract class AbstractAdsSchemaDescription extends AbstractSchemaDescription
033 {
034 /** The Full Qualified Class Name */
035 private String fqcn;
036
037 /** The base64 encoded bytecode for this schema */
038 private String bytecode;
039
040
041 protected AbstractAdsSchemaDescription()
042 {
043 fqcn = "";
044 bytecode = null;
045 }
046
047
048 public String getBytecode()
049 {
050 return bytecode;
051 }
052
053
054 public void setBytecode( String bytecode )
055 {
056 this.bytecode = bytecode;
057 }
058
059
060 public String getFqcn()
061 {
062 return fqcn;
063 }
064
065
066 public void setFqcn( String fqcn )
067 {
068 this.fqcn = fqcn;
069 }
070
071 }