Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  =================== DO NOT EDIT THIS FILE ====================
  Generated by Modello 1.4.1 on 2012-04-27 06:11:26,
  any modifications will be overwritten.
  ==============================================================
  */
 
 package org.sonatype.nexus.rest.model;

Contains a list of items stored in the NFC.

Version:
$Revision$ $Date$
@SuppressWarnings"all" )
@javax.xml.bind.annotation.XmlType( name = "nfc-resource" )
public class NFCResource
    implements java.io.Serializable
      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    
Field nfcContents.
    @javax.xml.bind.annotation.XmlElementWrapper( name = "nfcContents" )
    @javax.xml.bind.annotation.XmlElement( name = "nfc-repo-info" )
      //-----------/
     //- Methods -/
    //-----------/

    
Method addNfcContent.

Parameters:
nFCRepositoryResource
    public void addNfcContentNFCRepositoryResource nFCRepositoryResource )
    {
        getNfcContents().addnFCRepositoryResource );
    } //-- void addNfcContent( NFCRepositoryResource )

    
Method getNfcContents.

Returns:
List
    {
        if ( this. == null )
        {
            this. = new java.util.ArrayList<NFCRepositoryResource>();
        }
        return this.;
    } //-- java.util.List<NFCRepositoryResource> getNfcContents()

    
Method removeNfcContent.

Parameters:
nFCRepositoryResource
    public void removeNfcContentNFCRepositoryResource nFCRepositoryResource )
    {
        getNfcContents().removenFCRepositoryResource );
    } //-- void removeNfcContent( NFCRepositoryResource )

    
Set list of NFC repository items.

Parameters:
nfcContents
    public void setNfcContentsjava.util.List<NFCRepositoryResourcenfcContents )
    {
        this. = nfcContents;
    } //-- void setNfcContents( java.util.List )
New to GrepCode? Check out our FAQ X