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 auditeventpolicy item enumerates the different types of events the system should audit.

Author(s):
Akihito Nakamura, AIST
Version:
$Id: AuditEventPolicyItem.java 3046 2013-02-21 09:33:57Z nakamura5akihito@gmail.com $
See also:
OVAL Language
 
 public class AuditEventPolicyItem
     extends ItemType
 {
 
     private EntityItemAuditType  account_logon;
     //{0..1}
 
     //{0..1}
 
     //{0..1}
 
     //{0..1}
 
     private EntityItemAuditType  logon;
     //{0..1}
 
     private EntityItemAuditType  object_access;
     //{0..1}
 
     private EntityItemAuditType  policy_change;
     //{0..1}
 
     private EntityItemAuditType  privilege_use;
     //{0..1}
 
     private EntityItemAuditType  system;
     //{0..1}
 


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



    
    public void setAccountLogon(
                    final EntityItemAuditType account_logon
                    )
    {
        this. = account_logon;
    }
    {
        return ;
    }



    
    public void setAccountManagement(
                    final EntityItemAuditType account_management
                    )
    {
        this. = account_management;
    }
    {
        return ;
    }



    
    public void setDetailedTracking(
                    final EntityItemAuditType detailed_tracking
                    )
    {
        this. = detailed_tracking;
    }
    {
        return ;
    }



    
    public void setDirectoryServiceAccess(
                    final EntityItemAuditType directory_service_access
                    )
    {
        this. = directory_service_access;
    }
    {
        return ;
    }



    
    public void setLogon(
                    final EntityItemAuditType logon
                    )
    {
        this. = logon;
    }
    public EntityItemAuditType getLogon()
    {
        return ;
    }



    
    public void setObjectAccess(
                    final EntityItemAuditType object_access
                    )
    {
        this. = object_access;
    }
    {
        return ;
    }



    
    public void setPolicyChange(
                    final EntityItemAuditType policy_change
                    )
    {
        this. = policy_change;
    }
    {
        return ;
    }



    
    public void setPrivilegeUse(
                    final EntityItemAuditType privilege_use
                    )
    {
        this. = privilege_use;
    }
    {
        return ;
    }



    
    public void setSystem(
                    final EntityItemAuditType system
                    )
    {
        this. = system;
    }
    {
        return ;
    }
    //**************************************************************
    //  java.lang.Object
    //**************************************************************
    @Override
    public String toString()
    {
        return "auditeventpolicy_item[" + super.toString()
            + ", account_logon="            + getAccountLogon()
            + ", access_management="        + getAccountManagement()
            + ", detailed_tracking="        + getDetailedTracking()
            + ", directory_service_access=" + getDirectoryServiceAccess()
            + ", logon="                    + getLogon()
            + ", object_access="            + getObjectAccess()
            + ", policy_change="            + getPolicyChange()
            + ", privilege_use="            + getPrivilegeUse()
            + ", system="                   + getSystem()
             + "]";
    }
//AuditEventPolicyItem
New to GrepCode? Check out our FAQ X