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.model.windows;
 
The fileauditedpermissions53_state defines the different audit permissions that can be associated with a given fileauditedpermissions53_object.

Deprecated:
Deprecated as of version 5.3: Replaced by the fileauditedpermissions53 state and will be removed in version 6.0 of the language.
Author(s):
Akihito Nakamura, AIST
Version:
$Id: FileAuditedPermissionsState.java 3046 2013-02-21 09:33:57Z nakamura5akihito@gmail.com $
See also:
OVAL Language
 
     extends StateType
 {
 
     //{0..1}
     private EntityStateStringType   path;
     private EntityStateStringType   filename;
     private EntityStateStringType   trustee_name;
     private EntityStateAuditType    standard_delete;
     private EntityStateAuditType    standard_write_dac;
     private EntityStateAuditType    standard_write_owner;
     private EntityStateAuditType    standard_syncronize;
     private EntityStateAuditType    generic_read;
     private EntityStateAuditType    generic_write;
     private EntityStateAuditType    generic_execute;
     private EntityStateAuditType    generic_all;
     private EntityStateAuditType    file_read_data;
     private EntityStateAuditType    file_write_data;
     private EntityStateAuditType    file_append_data;
     private EntityStateAuditType    file_read_ea;
     private EntityStateAuditType    file_write_ea;
     private EntityStateAuditType    file_execute;
     private EntityStateAuditType    file_delete_child;
     private EntityStateAuditType    file_read_attributes;
 
     //{0..1}
 


    
Constructor.
 
     public FileAuditedPermissionsState()
     {
         thisnull, 0 );
     }
 
 
                     final String id,
                     final int version
                     )
     {
         thisidversionnull );
     }
 
 
                     final String id,
                     final int version,
                     final String comment
                     )
     {
        superidversioncomment );
//        _oval_platform_type = OvalPlatformType.windows;
//        _oval_component_type = OvalComponentType.fileauditedpermissions;
         = .;
    }



    
    public void setPath(
                    final EntityStateStringType path
                    )
    {
        this. = path;
    }
    {
        return ;
    }



    
    public void setFilename(
                    final EntityStateStringType filename
                    )
    {
        this. = filename;
    }
    {
        return ;
    }



    
    public void setTrusteeName(
                    final EntityStateStringType trustee_name
                    )
    {
        this. = trustee_name;
    }
    {
        return ;
    }



    
    public void setStandardDelete(
                    final EntityStateAuditType standard_delete
                    )
    {
        this. = standard_delete;
    }
    {
        return ;
    }



    
    public void setStandardReadControl(
                    final EntityStateAuditType standard_read_control
                    )
    {
        this. = standard_read_control;
    }
    {
        return ;
    }



    
    public void setStandardWriteDac(
                    final EntityStateAuditType standard_write_dac
                    )
    {
        this. = standard_write_dac;
    }
    {
        return ;
    }



    
    public void setStandardWriteOwner(
                    final EntityStateAuditType standard_write_owner
                    )
    {
        this. = standard_write_owner;
    }
    {
        return ;
    }



    
    public void setStandardSyncronize(
                    final EntityStateAuditType standard_syncronize
                    )
    {
        this. = standard_syncronize;
    }
    {
        return ;
    }



    
    public void setAccessSystemSecurity(
                    final EntityStateAuditType access_system_security
                    )
    {
        this. = access_system_security;
    }
    {
        return ;
    }



    
    public void setGenericRead(
                    final EntityStateAuditType generic_read
                    )
    {
        this. = generic_read;
    }
    {
        return ;
    }



    
    public void setGenericWrite(
                    final EntityStateAuditType generic_write
                    )
    {
        this. = generic_write;
    }
    {
        return ;
    }



    
    public void setGenericExecute(
                    final EntityStateAuditType generic_execute
                    )
    {
        this. = generic_execute;
    }
    {
        return ;
    }



    
    public void setGenericAll(
                    final EntityStateAuditType generic_all
                    )
    {
        this. = generic_all;
    }
    {
        return ;
    }



    
    public void setFileReadData(
                    final EntityStateAuditType file_read_data
                    )
    {
        this. = file_read_data;
    }
    {
        return ;
    }



    
    public void setFileWriteData(
                    final EntityStateAuditType file_write_data
                    )
    {
        this. = file_write_data;
    }
    {
        return ;
    }



    
    public void setFileAppendData(
                    final EntityStateAuditType file_append_data
                    )
    {
        this. = file_append_data;
    }
    {
        return ;
    }



    
    public void setFileReadEa(
                    final EntityStateAuditType file_read_ea
                    )
    {
        this. = file_read_ea;
    }
    {
        return ;
    }



    
    public void setFileWriteEa(
                    final EntityStateAuditType file_write_ea
                    )
    {
        this. = file_write_ea;
    }
    {
        return ;
    }



    
    public void setFileExecute(
                    final EntityStateAuditType file_execute
                    )
    {
        this. = file_execute;
    }
    {
        return ;
    }



    
    public void setFileDeleteChild(
                    final EntityStateAuditType file_delete_child
                    )
    {
        this. = file_delete_child;
    }
    {
        return ;
    }



    
    public void setFileReadAttributes(
                    final EntityStateAuditType file_read_attributes
                    )
    {
        this. = file_read_attributes;
    }
    {
        return ;
    }



    
    public void setFileWriteAttributes(
                    final EntityStateAuditType file_write_attributes
                    )
    {
        this. = file_write_attributes;
    }
    {
        return ;
    }



    
    public void setWindowsView(
                    final EntityStateWindowsViewType windows_view
                    )
    {
        this. = windows_view;
    }
    {
        return ;
    }
    //*********************************************************************
    //  DefinitionsElement
    //*********************************************************************
    @Override
    {
        Collection<ElementRef>  ref_list = new ArrayList<ElementRef>();
        ref_list.addgetPath() );
        ref_list.addgetFilename() );
        ref_list.addgetTrusteeName() );
        ref_list.addgetStandardDelete() );
        ref_list.addgetStandardReadControl() );
        ref_list.addgetStandardWriteDac() );
        ref_list.addgetStandardWriteOwner() );
        ref_list.addgetStandardSyncronize() );
        ref_list.addgetAccessSystemSecurity() );
        ref_list.addgetGenericRead() );
        ref_list.addgetGenericWrite() );
        ref_list.addgetGenericExecute() );
        ref_list.addgetGenericAll() );
        ref_list.addgetFileReadData() );
        ref_list.addgetFileWriteData() );
        ref_list.addgetFileAppendData() );
        ref_list.addgetFileReadEa() );
        ref_list.addgetFileWriteEa() );
        ref_list.addgetFileExecute() );
        ref_list.addgetFileDeleteChild() );
        ref_list.addgetFileReadAttributes() );
        ref_list.addgetFileWriteAttributes() );
        ref_list.addgetWindowsView() );
        return ref_list;
    }
    //**************************************************************
    //  java.lang.Object
    //**************************************************************
    @Override
    public int hashCode()
    {
        return super.hashCode();
    }
    @Override
    public boolean equals(
                    final Object obj
                    )
    {
        if (!(obj instanceof FileAuditedPermissionsState)) {
            return false;
        }
        return super.equalsobj );
    }
    @Override
    public String toString()
    {
        return "fileauditedpermissions_state[" + super.toString()
             + ", path="                    + getPath()
             + ", filename="                + getFilename()
             + ", trustee_name="            + getTrusteeName()
             + ", standard_delete="         + getStandardDelete()
             + ", standard_read_control="   + getStandardReadControl()
             + ", standard_write_dac="      + getStandardWriteDac()
             + ", standard_write_owner="    + getStandardWriteOwner()
             + ", standard_syncronize="     + getStandardSyncronize()
             + ", access_system_security="  + getAccessSystemSecurity()
             + ", generic_read="            + getGenericRead()
             + ", generic_write="           + getGenericWrite()
             + ", generic_execute="         + getGenericExecute()
             + ", generic_all="             + getGenericAll()
             + ", file_read_data="          + getFileReadData()
             + ", file_write_data="         + getFileWriteData()
             + ", file_append_data="        + getFileAppendData()
             + ", file_read_ea="            + getFileReadEa()
             + ", file_write_ea="           + getFileWriteEa()
             + ", file_execute="            + getFileExecute()
             + ", file_delete_child="       + getFileDeleteChild()
             + ", file_read_attributes="    + getFileReadAttributes()
             + ", file_write_attributes="   + getFileWriteAttributes()
             + ", windows_view="            + getWindowsView()
             + "]";
    }
//FileAuditedPermissionsState
New to GrepCode? Check out our FAQ X