Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * This program is free software; you can redistribute it and/or modify it under the
   * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
   * Foundation.
   *
   * You should have received a copy of the GNU Lesser General Public License along with this
   * program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
   * or from the Free Software Foundation, Inc.,
   * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  *
  * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  * See the GNU Lesser General Public License for more details.
  *
  * Copyright (c) 2006 - 2009 Pentaho Corporation..  All rights reserved.
  */
 package org.pentaho.pms.schema.concept;
 

Deprecated:
as of metadata 3.0.
 
 public interface ConceptUtilityInterface
 {
    

Returns:
the id
 
     public abstract String getId();

    

Parameters:
id the id to set
 
     public abstract void setId(String idthrows ObjectAlreadyExistsException;
    
    

Returns:
the description of the model element
 
     public String getModelElementDescription();

    

Returns:
The concept
 
     public abstract ConceptInterface getConcept();

    

Parameters:
concept The concept to set
 
     public abstract void setConcept(ConceptInterface concept);

    
In case the changed flag needs to be set or cleared.

Parameters:
changed true if the concept needs to be set to changed
 
     public void setChanged(boolean changed);

    
In case the changed flag needs to be set.
 
     public void setChanged();

    

Returns:
true if the concept was changed;
 
     public boolean hasChanged();
 
    
Clear the changed flag of this concept and the underlying objects
 
     public void clearChanged();
    
    
    
    
    

Parameters:
locale The prefered locale to go for
Returns:
The localized name or the id if nothing was found for that locale
 
     public String getDisplayName(String locale);

    
Set the localized name of the object

Parameters:
locale The prefered locale to go for
name the name to set
 
     public void setName(String localeString name);
    
    
    

Parameters:
locale The prefered locale to go for
Returns:
The localized name or null if nothing was found for that locale
 
    public String getName(String locale);
    
    
Set the localized description of the object

Parameters:
locale The prefered locale to go for
description the description to set
    public void setDescription(String localeString description);
    
    

Parameters:
locale The prefered locale to go for
Returns:
The localized description or null if nothing was found for that locale
    public String getDescription(String locale);
    public String getTargetSchema();
    public void setTargetSchema(String targetSchema);
    public String getTargetTable();
    public void setTargetTable(String targetTable);
    
    public String getMask();
    
    public void setMask(String mask);
    
    
    public void setTableType(TableTypeSettings type);
    
    public boolean isDimensionTable();
    
    public boolean isFactTable();
    
    public int getRelativeSize();
    
    public void setRelativeSize(int size);
    
    public String getFormula();
    
    public void setFormula(String formula);
    
    public FieldTypeSettings getFieldType();
    
    

Parameters:
columnType the column type to set
    public void setFieldType(FieldTypeSettings fieldType);
    public String getFieldTypeDesc();
    
    public void setAggregationType(AggregationSettings aggregationType);
    public String getAggregationTypeDesc();
    
    public void setHidden(boolean hidden);    
    public void flipHidden();
    public boolean isHidden();
    
    public boolean isExact();
    public void setExact(boolean exact);    
    public void flipExact();
    
    public boolean isFactField();
    public boolean isDimensionField();
    public boolean isAttributeField();
    
    public boolean hasAggregate();    
    
    public DataTypeSettings getDataType();
    public void setDataType(DataTypeSettings dataType);
    
    public Security getSecurity();
    public void setSecurity(Security security);
New to GrepCode? Check out our FAQ X