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;
 
This item stores the effective rights of a registry key that a discretionary access control list (DACL) structure grants to a specified trustee.

Author(s):
Akihito Nakamura, AIST
Version:
$Id: RegkeyEffectiveRightsItem.java 3046 2013-02-21 09:33:57Z nakamura5akihito@gmail.com $
See also:
OVAL Language
 
     extends ItemType
 {
 
     //{0..1}
     private EntityItemRegistryHiveType  hive;
 
     private EntityItemStringType        key;
     //{nillable="true"}
 
     private EntityItemStringType        trustee_sid;
     private EntityItemBoolType         standard_delete;
     private EntityItemBoolType         standard_read_control;
     private EntityItemBoolType         standard_write_dac;
     private EntityItemBoolType         standard_write_owner;
     private EntityItemBoolType         standard_syncronize;
     private EntityItemBoolType         access_system_security;
     private EntityItemBoolType         generic_read;
     private EntityItemBoolType         generic_write;
     private EntityItemBoolType         generic_execute;
     private EntityItemBoolType         generic_all;
     private EntityItemBoolType         key_query_value;
     private EntityItemBoolType         key_set_value;
     private EntityItemBoolType         key_create_sub_key;
     private EntityItemBoolType         key_enumerate_sub_keys;
     private EntityItemBoolType         key_notify;
     private EntityItemBoolType         key_create_link;
     private EntityItemBoolType         key_wow64_64key;
     private EntityItemBoolType         key_wow64_32key;
     private EntityItemBoolType         key_wow64_res;
 
     private EntityItemWindowsViewType   windows_view;
     //{0..1}
 


    
Constructor.
 
     public RegkeyEffectiveRightsItem()
     {
         this( 0 );
     }
 
 
     public RegkeyEffectiveRightsItem(
                     final int id
                     )
     {
         thisidnull );
     }
 
 
     public RegkeyEffectiveRightsItem(
                     final int id,
                     final StatusEnumeration status
                     )
     {
         superidstatus );
 
 //        _oval_platform_type = OvalPlatformType.windows;
 //        _oval_component_type = OvalComponentType.regkeyeffectiverights;
         = .;
    }



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



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



    
    public void setTrusteeSid(
                    final EntityItemStringType trustee_sid
                    )
    {
        this. = trustee_sid;
    }
    {
        return ;
    }



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



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



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



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



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



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



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



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



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



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



    
    public void setKeyQueryValue(
                    final EntityItemBoolType key_query_value
                    )
    {
        this. = key_query_value;
    }
    {
        return ;
    }



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



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



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



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



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



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



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



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



    
    public void setWindowsView(
                    final EntityItemWindowsViewType windows_view
                    )
    {
        this. = windows_view;
    }
    {
        return ;
    }
    //**************************************************************
    //  java.lang.Object
    //**************************************************************
    @Override
    public int hashCode()
    {
        return super.hashCode();
    }
    @Override
    public boolean equals(
                    final Object obj
                    )
    {
        if (!(obj instanceof RegkeyEffectiveRightsItem)) {
            return false;
        }
        return super.equalsobj );
    }
    @Override
    public String toString()
    {
        return "regkeyeffectiverights_item[" + 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()
             + "]";
    }
//RegkeyEffectiveRightsItem
New to GrepCode? Check out our FAQ X