public Attribute( String name ) { setName( name ); }
public Attribute( String nameAc, String name, String value ) { setNameAc( nameAc ); setName( name ); setValue( value ); }
public psidev.psi.mi.xml.model.Attribute fromJaxb( psidev.psi.mi.xml254.jaxb.Attribute jAttribute ) { if ( jAttribute == null ) { throw new IllegalArgumentException( "You must give a non null JAXB attribute." ); } psidev.psi.mi.xml.model.Attribute mAttribute = new psidev.psi.mi.xml.model.Attribute(); // Initialise the model reading the Jaxb object // 1. set attributes mAttribute.setName( jAttribute.getName() ); mAttribute.setNameAc( jAttribute.getNameAc() ); mAttribute.setValue( jAttribute.getValue() ); return mAttribute; }
public Attribute( String name, String value ) { setName( name ); setValue( value ); }
public psidev.psi.mi.xml.model.Attribute fromJaxb( psidev.psi.mi.xml253.jaxb.AttributeListType.Attribute jAttribute ) { if ( jAttribute == null ) { throw new IllegalArgumentException( "You must give a non null JAXB attribute." ); } psidev.psi.mi.xml.model.Attribute mAttribute = new psidev.psi.mi.xml.model.Attribute(); // Initialise the model reading the Jaxb object // 1. set attributes mAttribute.setName( jAttribute.getName() ); mAttribute.setNameAc( jAttribute.getNameAc() ); mAttribute.setValue( jAttribute.getValue() ); return mAttribute; }