
com.draagon.meta.attr.LongAttribute Maven / Gradle / Ivy
/*
* Copyright 2002 Draagon Software LLC. All Rights Reserved.
*
* This software is the proprietary information of Draagon Software LLC.
* Use is subject to license terms.
*/
package com.draagon.meta.attr;
import com.draagon.meta.DataTypes;
/**
* A Long Attribute
*/
@SuppressWarnings("serial")
public class LongAttribute extends MetaAttribute {
//private static Log log = LogFactory.getLog( StringAttribute.class );
public final static String SUBTYPE_LONG = "long";
/**
* Constructs the Integer MetaAttribute
*/
public LongAttribute(String name ) {
super( SUBTYPE_LONG, name, DataTypes.LONG);
}
/**
* Manually create an Integer MetaAttribute with a value
*/
public static LongAttribute create(String name, Long value ) {
LongAttribute a = new LongAttribute( name );
a.setValue( value );
return a;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy