def valid?
      return false if @style.nil?
      style_validator = EnumAttributeValidator.new('String', ["Default", "Solid", "ShortDash", "ShortDot", "ShortDashDot", "ShortDashDotDot", "Dot", "Dash", "LongDash", "DashDot", "LongDashDot", "LongDashDotDot"])
      return false unless style_validator.valid?(@style)
      return false if @transparency.nil?
      return false if @weight.nil?
      return true
    end
def valid?
      return false if @style.nil?
      style_validator = EnumAttributeValidator.new('String', ["Default", "Solid", "ShortDash", "ShortDot", "ShortDashDot", "ShortDashDotDot", "Dot", "Dash", "LongDash", "DashDot", "LongDashDot", "LongDashDotDot"])
      return false unless style_validator.valid?(@style)
      return false if @transparency.nil?
      return false if @weight.nil?
      return true
    end
Check to see if the all the properties in the model are valid
 @return true if the model is valid