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 regkeyauditedpermissions53 state defines the different audit permissions that can be associated with a given regkeyauditedpermissions53 object.

Author(s):
Akihito Nakamura, AIST
Version:
$Id: RegkeyAuditedPermissions53State.java 3046 2013-02-21 09:33:57Z nakamura5akihito@gmail.com $
See also:
OVAL Language
 
     extends StateType
 {
 
     //{0..1}
     private EntityStateRegistryHiveType  hive;
     private EntityStateStringType       key;
     private EntityStateStringType       trustee_sid;
     private EntityStateAuditType        standard_delete;
     private EntityStateAuditType        standard_read_control;
     private EntityStateAuditType        standard_write_dac;
     private EntityStateAuditType        standard_write_owner;
     private EntityStateAuditType        standard_syncronize;
     private EntityStateAuditType        access_system_security;
     private EntityStateAuditType        generic_read;
     private EntityStateAuditType        generic_write;
     private EntityStateAuditType        generic_execute;
     private EntityStateAuditType        generic_all;
     private EntityStateAuditType        key_query_value;
     private EntityStateAuditType        key_set_value;
     private EntityStateAuditType        key_create_sub_key;
     private EntityStateAuditType        key_enumerate_sub_keys;
     private EntityStateAuditType        key_notify;
     private EntityStateAuditType        key_create_link;
     private EntityStateAuditType        key_wow64_64key;
     private EntityStateAuditType        key_wow64_32key;
     private EntityStateAuditType        key_wow64_res;
 
     //{0..1}
 


    
Constructor.
 
     {
         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.regkeyauditedpermissions53;
         = .;
    }



    
    public void setHive(
                    final EntityStateRegistryHiveType hive
                    )
    {
        this. = hive;
    }
    {
        return ;
    }



    
    public void setKey(
                    final EntityStateStringType key
                    )
    {
        this. = key;
    }
    public EntityStateStringType getKey()
    {
        return ;
    }



    
    public void setTrusteeSid(
                    final EntityStateStringType trustee_sid
                    )
    {
        this. = trustee_sid;
    }
    {
        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 setKeyQueryValue(
                    final EntityStateAuditType key_query_value
                    )
    {
        this. = key_query_value;
    }
    {
        return ;
    }



    
    public void setKeySetValue(
                    final EntityStateAuditType key_set_value
                    )
    {
        this. = key_set_value;
    }
    {
        return ;
    }



    
    public void setKeyCreateSubKey(
                    final EntityStateAuditType key_create_sub_key
                    )
    {
        this. = key_create_sub_key;
    }
    {
        return ;
    }



    
    public void setKeyEnumerateSubKeys(
                    final EntityStateAuditType key_enumerate_sub_keys
                    )
    {
        this. = key_enumerate_sub_keys;
    }
    {
        return ;
    }



    
    public void setKeyNotify(
                    final EntityStateAuditType key_notify
                    )
    {
        this. = key_notify;
    }
    {
        return ;
    }



    
    public void setKeyCreateLink(
                    final EntityStateAuditType key_create_link
                    )
    {
        this. = key_create_link;
    }
    {
        return ;
    }



    
    public void setKeyWow6464key(
                    final EntityStateAuditType key_wow64_64key
                    )
    {
        this. = key_wow64_64key;
    }
    {
        return ;
    }



    
    public void setKeyWow6432key(
                    final EntityStateAuditType key_wow64_32key
                    )
    {
        this. = key_wow64_32key;
    }
    {
        return ;
    }



    
    public void setKeyWow64Res(
                    final EntityStateAuditType key_wow64_res
                    )
    {
        this. = key_wow64_res;
    }
    {
        return ;
    }



    
    public void setWindowsView(
                    final EntityStateWindowsViewType windows_view
                    )
    {
        this. = windows_view;
    }
    {
        return ;
    }
    //*********************************************************************
    //  DefinitionsElement
    //*********************************************************************
    @Override
    {
        Collection<ElementRef>  ref_list = new ArrayList<ElementRef>();
        ref_list.addgetHive() );
        ref_list.addgetKey() );
        ref_list.addgetTrusteeSid() );
        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.addgetKeyQueryValue() );
        ref_list.addgetKeySetValue() );
        ref_list.addgetKeyCreateSubKey() );
        ref_list.addgetKeyEnumerateSubKeys() );
        ref_list.addgetKeyNotify() );
        ref_list.addgetKeyCreateLink() );
        ref_list.addgetKeyWow6464key() );
        ref_list.addgetKeyWow6432key() );
        ref_list.addgetKeyWow64Res() );
        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 RegkeyAuditedPermissions53State)) {
            return false;
        }
        return super.equalsobj );
    }
    @Override
    public String toString()
    {
        return "regkeyauditedpermissions53_state[" + super.toString()
             + ", hive="                + getHive()
             + ", key="                    + getKey()
             + ", trustee_sid="             + getTrusteeSid()
             + ", 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()
             + ", key_query_value="         + getKeyQueryValue()
             + ", key_set_value="           + getKeySetValue()
             + ", key_create_sub_key="      + getKeyCreateSubKey()
             + ", key_enumerate_sub_keys="  + getKeyEnumerateSubKeys()
             + ", key_notify="              + getKeyNotify()
             + ", key_create_link="         + getKeyCreateLink()
             + ", key_wow64_64key="         + getKeyWow6464key()
             + ", key_wow64_32key="         + getKeyWow6432key()
             + ", key_wow64_res="           + getKeyWow64Res()
             + ", windows_view="            + getWindowsView()
             + "]";
    }
//RegkeyAuditedPermissions53State
New to GrepCode? Check out our FAQ X