Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
SIX OVAL - http://code.google.com/p/six-oval/ Copyright (C) 2010 National Institute of Advanced Industrial Science and Technology (AIST) Registration Number: H22PRO-1124 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
 
 package jp.go.aist.six.oval.repository;
 

Author(s):
Akihito Nakamura, AIST
Version:
$Id: DefinitionQueryParams.java 3046 2013-02-21 09:33:57Z nakamura5akihito@gmail.com $
 
 public class DefinitionQueryParams
 {
 
     public static class Key
     {
         public static final String  DEFINITION_CLASS    = "class";
 //        public static final String  TITLE               = "title"; // Use "searchTerms" instead!!!
 //        public static final String  FAMILY              = "family";   //override
         public static final String  PLATFORM            = "platform";
         public static final String  PRODUCT             = "product";
         public static final String  REF_SOURCE          = "refSource";
         public static final String  REF_ID              = "refId";
         public static final String  CVE                 = "cve";
     }
     // Key
 


    
Constructor.
 
     public DefinitionQueryParams()
     {
     }



    
 
     public void setDefinitionClass(
                     final String definition_class
                     )
     {
         set.definition_class );
     }
 
 
     public void setDefinitionClass(
                     final String[] definition_classes
                     )
     {
         set.definition_classes );
     }
 
 
     public void setDefinitionClass(
                     final ClassEnumeration definition_class
                     )
     {
         set.definition_class.value() );
     }
 
 
     public void setDefinitionClass(
                     final ClassEnumeration[] definition_classes
                     )
     {
         set.definition_classes );
     }
 
 
     public String getDefinitionClass()
     {
         return get. );
     }
 
 
 
 //    /**
//     */
//    public void setTitle(
//                    final String title
//    )
//    {
//        set( Key.TITLE, title );
//    }
//
//
//    public String getTitle()
//    {
//        return get( Key.TITLE );
//    }
//    /**
//     */
//    public void setFamily(
//                    final String family
//    )
//    {
//        set( Key.FAMILY, family );
//    }
//
//
//    public String getFamily()
//    {
//        return get( Key.FAMILY );
//    }



    
    public void setPlatform(
                    final String platform
    )
    {
        set.platform );
    }
    public String getPlatform()
    {
        return get. );
    }



    
    public void setProduct(
                    final String product
    )
    {
        set.product );
    }
    public String getProduct()
    {
        return get. );
    }



    
    public void setRefSource(
                    final String ref_source
    )
    {
        set.ref_source );
    }
    public String getRefSource()
    {
        return get. );
    }



    
    public void setRefId(
                    final String ref_id
    )
    {
        set.ref_id );
    }
    public String getRefId()
    {
        return get. );
    }



    
    public void setCve(
                    final String cve
    )
    {
        set.cve );
    }
    public String getCve()
    {
        return get. );
    }
//
New to GrepCode? Check out our FAQ X